This file contains 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
// exports.module | |
// hello.js | |
exports.log = () => { console.log('logging') } | |
// index.js | |
import log from './hello.js' | |
log.log() |
This file contains 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
// module.exports | |
// index.js | |
module.exports = () => { console.log('ANONYMOUS') } | |
// hello.js | |
import log from './hello.js' | |
log() |
This file contains 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
-- disable alt-v for Adobe's built-in shortcut | |
function applicationWatcher(appName, eventType, appObject) | |
if (eventType == hs.application.watcher.activated) then | |
if (string.find(appName, 'iTerm')) then | |
for i,v in pairs(editting) do | |
v:disable() | |
end | |
-- editting.cD:disable() | |
else | |
for i,v in pairs(editting) do |
This file contains 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
days = {[0]="Sunday", [1]="Monday", "Tuesday", "Wednesday", | |
"Thursday", a="Friday", "Saturday"} | |
print(days[1]) -- Tuesday | |
print(days[0]) -- Sunday |
This file contains 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
12006 silly gunzTarPerm extractEntry error.js | |
12007 silly gunzTarPerm extractEntry render-template.js | |
12008 silly gunzTarPerm extractEntry progress-bar.js | |
12009 silly gunzTarPerm extractEntry index.js | |
12010 silly gunzTarPerm extractEntry spin.js | |
12011 silly gunzTarPerm extractEntry process.js | |
12012 silly gunzTarPerm extractEntry template-item.js | |
12013 silly gunzTarPerm extractEntry plumbing.js | |
12014 silly gunzTarPerm extractEntry set-immediate.js | |
12015 silly gunzTarPerm extractEntry wide-truncate.js |
This file contains 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
// const fetch = async () => { | |
// return new Promise ((resolve, reject) => { | |
// // reject('Oooops, somethign went wrong') | |
// resolve(`{"text": "some text"}`) | |
// }) | |
// } | |
const fetch = () => { | |
return new Promise((resolve, reject) => { | |
resolve('a resolve') |
This file contains 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
# Please put the Hash fils and Malware folder in the same directory, and run with python3 filename | |
# by Singh Prabhjot && Song Wang | |
import hashlib | |
import os | |
import fileinput | |
hash_list = [] | |
for line in fileinput.input(['Hash']): |
This file contains 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
.square { | |
font-size: 5em; | |
display: flex; | |
justify-content: center; | |
align-items: center; | |
box-sizing: border-box; | |
height: 200px; | |
width: 200px; | |
border: 4px solid black; | |
} |
This file contains 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
# For more information on configuration, see: | |
# * Official English Documentation: http://nginx.org/en/docs/ | |
# * Official Russian Documentation: http://nginx.org/ru/docs/ | |
user nginx; | |
worker_processes auto; | |
error_log /var/log/nginx/error.log; | |
pid /var/run/nginx.pid; | |
# Load dynamic modules. See /usr/share/nginx/README.dynamic. |
This file contains 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
source ~/.zsh/basic.zsh | |
source ~/.zsh/function.zsh | |
source ~/.zsh/alias.zsh | |
source ~/.zsh/fzf.zsh | |
source ~/.zsh/zsh-interactive-cd.plugin.zsh |