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
data:image/gif;base64,R0lGODlhAQABAAAAACw= |
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
(function () { | |
// Shortcuts | |
var C = CryptoJS; | |
var C_lib = C.lib; | |
var Hasher = C_lib.Hasher; | |
var C_x64 = C.x64; | |
var X64Word = C_x64.Word; | |
var X64WordArray = C_x64.WordArray; | |
var C_algo = C.algo; |
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
var events = require("events"); | |
var Scanner = function() { | |
events.EventEmitter.call(this); | |
this.on("after1000", function(){ | |
console.log("one"); | |
}); |
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
if (!window.standard.nazov || !window.standard.kategoria) { | |
return; | |
} | |
gtag("ab", "bc", { | |
window.standard.nazov, window.standard.autor, window.standard.kategoria | |
}) | |
if (window.location.host.contains("?ad")) { | |
gtag("reklama", "neplatena", { |
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
Zodpovednosť R.Fica – LEN za svoju PRVÚ vládu 2006-2010: | |
Rozdelenie kvót CO2 – kvóty obchodované v EÚ | |
Suma: 11 086 000 000 Sk | |
Zodpovednosť: SNS | |
Nástenkový tender na ministerstve výstavby | |
Suma: 350 000 000 Sk | |
Zodpovednosť: SNS |
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
(async function(){ | |
async function request(){ | |
const resp = await fetch("https://utils-app-ozj8f.ondigitalocean.app/test-mysql.php"); | |
const jsonData = await resp.json(); | |
return jsonData; | |
} | |
const start = +new Date() | |
let i = 1 | |
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
window.onmousemove = logMouseMove; | |
function logMouseMove(event) { | |
e = e || window.event; | |
mousePos = { x: e.clientX, y: e.clientY }; | |
console.log(mousePos); | |
} |
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
// hook file | |
function Hook() { | |
const [ value, setValue ] = useState(null) | |
return { | |
secret: { | |
value, | |
fetch: (params) => post("/url", params).then(setValue) | |
} |
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
--------------------------------------------------- | |
Sample of Structure | |
/express.js | |
/views/javascript/jquery.js | |
/views/javascript/mootools.js | |
/views/stylesheets/resets.css | |
/views/stylesheets/globals.css |
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
/* from photo mongo database and s3 */ | |
var removePhoto = function(){ | |
mongoclient.connect(database, function(err, db) { | |
if (err) throw err; | |
/* url../remove?98c582c7d329/3b1fa423d917 - album:98c582c7d329 photo:3b1fa423d917 */ | |
var url = require('url').parse(req.url).query; | |
var album = underscore.words(url, '/')[0]; | |
var photo = underscore.words(url, '/')[1]; |
NewerOlder