added new syntax highlighting files

I added a sample etc/hosts file and a sample requirements.txt file. I didn't know there was already a sample YAML file because it wasn't ticked in the issue so I added some extra syntax that I had in my own to the previous  example.yaml file.
This commit is contained in:
okezieuc 2020-10-12 15:26:10 +01:00 committed by David Peter
parent 33128d75f2
commit a39f1e0f9b
6 changed files with 65 additions and 1 deletions

View File

@ -0,0 +1,8 @@
#this is a comment in the hosts file
127.0.0.1  localhost
192.168.0.1 sample.test #a comment
192.160.0.200 try.sample.test try #another comment
216.58.223.238 google.com
::1 localhost.try ip6-localhost

View File

@ -0,0 +1,8 @@
#this is a sample requirements.txt file
django==11.2.0
pywheels>=12.4 #a whitespace followed by comments
Nuitka<0.6.8.4
wxPython>=1.0, <=2.1
#this is another comment

View File

@ -4,6 +4,9 @@
name: Test User
username: "testuser"
other_names: ['Bob', 'Bill', 'George']
hexa: 0x11c3 #inline comment
octa: 021131
lastseen: .NAN
enabled: true
locked: false
groups: 
@ -13,6 +16,19 @@
address: >
 123 Alphabet Way
 San Francisco, CA
bio: |
 I am a hardworking person
 and a member of the
 executive staff
phone: null
email: ~
building_access: yes
secure_access: no
bulb: On
fans: Off
emails:
 executives:
 - bob@example.com
 - bill@example.com
 supervisors:
 - george@example.com

View File

@ -0,0 +1,8 @@
#this is a comment in the hosts file
127.0.0.1 localhost
192.168.0.1 sample.test #a comment
192.160.0.200 try.sample.test try #another comment
216.58.223.238 google.com
::1 localhost.try ip6-localhost

View File

@ -0,0 +1,8 @@
#this is a sample requirements.txt file
django==11.2.0
pywheels>=12.4 #a whitespace followed by comments
Nuitka<0.6.8.4
wxPython>=1.0, <=2.1
#this is another comment

View File

@ -4,6 +4,9 @@ id: 3595
name: Test User
username: "testuser"
other_names: ['Bob', 'Bill', 'George']
hexa: 0x11c3 #inline comment
octa: 021131
lastseen: .NAN
enabled: true
locked: false
groups:
@ -13,6 +16,19 @@ groups:
address: >
123 Alphabet Way
San Francisco, CA
bio: |
I am a hardworking person
and a member of the
executive staff
phone: null
email: ~
building_access: yes
secure_access: no
secure_access: no
bulb: On
fans: Off
emails:
executives:
- bob@example.com
- bill@example.com
supervisors:
- george@example.com