This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| -- Kitty quick terminal - with async launch and proper quick terminal support. | |
| -- Shift-tab by default because OSX thinks you're not allowed to use that combo. | |
| local kitty_task = nil | |
| hs.hotkey.bind({"shift"}, "Tab", function() | |
| if not kitty_task or not kitty_task:isRunning() then | |
| -- First press or daemon died => launch fresh | |
| if kitty_task then kitty_task = nil end | |
| kitty_task = hs.task.new( | |
| "/Applications/kitty.app/Contents/MacOS/kitten", | |
| nil, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
| https://mirror1.malwaredomains.com/files/justdomains | |
| http://sysctl.org/cameleon/hosts | |
| https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist | |
| https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt | |
| https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt | |
| https://hosts-file.net/ad_servers.txt | |
| https://hosts-file.net/grm.txt | |
| https://reddestdream.github.io/Projects/MinimalHosts/etc/MinimalHostsBlocker/minimalhosts | |
| https://raw.githubusercontent.com/StevenBlack/hosts/master/data/KADhosts/hosts |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #Tested on Debian 9 | |
| #Write log | |
| logoutput: syslog /var/log/sockd.log | |
| #Listen IPv4 | |
| internal: 1.2.3.4 port = 1080 | |
| #Listen IPv6 | |
| #internal: Y::Y port = 1080 | |
| #External IPv4 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| config setup | |
| charondebug="ike 2, knl 2, cfg 2, net 2, esp 2, dmn 2, mgr 2" | |
| conn %default | |
| # keyexchange=ikev2 | |
| conn mikrotik-1 | |
| # Try connect on daemon start | |
| auto=start |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="utf-8"?> | |
| <Client name="Kodi"> | |
| <Identification> | |
| <Header name="User-Agent" substring="Kodi" /> | |
| </Identification> | |
| <!-- Author: Plex Inc. --> | |
| <TranscodeTargets> | |
| <VideoProfile protocol="hls" container="mpegts" codec="h264" audioCodec="ac3" context="streaming" /> | |
| <MusicProfile container="flac" codec="flac" id="StereoMusicTranscodeProfile" /> | |
| <PhotoProfile container="jpeg" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #dump mysql for re-import to slave | |
| mysqldump --opt --single-transaction --comments --hex-blob --dump-date --no-autocommit --master-data --all-databases > master-dump.sql | |
| #Create ISO in MAC OS X from folder | |
| hdiutil makehybrid -iso -joliet -o dell-pkgs.iso tgt | |
| #megacli parse | |
| megacli -PDList -aAll | egrep "Enclosure Device ID:|Slot Number:|Inquiry Data:|Error Count:|state" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Generated by iptables-save v1.6.0 on Wed Dec 21 18:48:19 2016 | |
| *filter | |
| :INPUT ACCEPT [0:0] | |
| :FORWARD ACCEPT [0:0] | |
| :OUTPUT ACCEPT [244180:191492827] | |
| -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG NONE -m comment --comment "block null packets" -j DROP | |
| -A INPUT -p tcp -m tcp ! --tcp-flags FIN,SYN,RST,ACK SYN -m state --state NEW -m comment --comment "block syn-flood" -j DROP | |
| -A INPUT -p tcp -m tcp --tcp-flags FIN,SYN,RST,PSH,ACK,URG FIN,SYN,RST,PSH,ACK,URG -m comment --comment "block XMAS packets" -j DROP | |
| -A INPUT -p icmp -m comment --comment "accept icmp" -j ACCEPT | |
| -A INPUT -i lo -m comment --comment "accept loopback traffic" -j ACCEPT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| templates: | |
| tvshows: | |
| set: | |
| path: /media/tank-media/soaps/{{series_name|replace(' ', '.')}}/Season.{{series_season}} | |
| transmission: | |
| host: localhost | |
| password: "********" | |
| port: 9091 | |
| username: admin | |
| regexp: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| add chain=input comment="Router: Allow established connections" connection-state=established | |
| add chain=input comment="Router: Allow related connections" connection-state=related | |
| add chain=input comment="Router: Allow IPv6 ICMP" protocol=icmpv6 | |
| add action=drop chain=input comment="Drop everything else" | |
| add chain=forward comment="LAN: Allow established connections" connection-state=established | |
| add chain=forward comment="LAN: Allow related connections" connection-state=related | |
| add chain=forward comment="LAN: Allow IPv6 ICMP" protocol=icmpv6 | |
| #example rule for opening port | |
| add chain=forward comment="LAN: Allow SSH" dst-port=22 protocol=tcp | |
| add chain=forward comment="Allow any to internet" out-interface=sixbone |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _target = player; | |
| _location = getpos _target; | |
| _airdrop = "B_supplyCrate_F" createVehicle _location; | |
| _airdrop setPos [_location select 0, _location select 1, 100]; | |
| _airdrop setDir (random 360); | |
| [objnull, _ammodrop] call BIS_fnc_curatorobjectedited; |
NewerOlder