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
localhost | |
on startup php-cgi -b 10000 & | |
fastcgi / 127.0.0.1:10000 php | |
root . | |
errors stderr |
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
class Mulda { | |
constructor(a, b) { | |
var mulda = new Array(a) | |
for (var x = 0; x < a; x++) { | |
mulda[x] = new Array(b) | |
} | |
return mulda | |
} | |
} |
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
// ==UserScript== | |
// @name Wikipedia search focus | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description focus focus focus | |
// @author nake89 | |
// @match https://en.wikipedia.org/* | |
// @grant none | |
// ==/UserScript== |
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
def searchinfile(srchstr, filename): | |
with open(filename) as f: | |
wasd = 0 | |
for line in f: | |
#print(line.lower(), end='') | |
tolwr = line.lower() | |
if srchstr in tolwr: | |
#print("found test in: " + line) | |
wasd += 1 | |
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
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
NewerOlder