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
#include <windows.h> | |
#include <shobjidl.h> | |
#include <stdio.h> | |
void test_ifiledialog() | |
{ | |
HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | | |
COINIT_DISABLE_OLE1DDE); | |
if (SUCCEEDED(hr)) | |
{ |
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
let locales = ["ar", "de", /*"en-US",*/ "es-ES", "fa", "fr", "ja", "it", | |
"ko", "nl", "pl", "pt-BR", /*"ru",*/ "tr", "vi", "zh-CN"]; | |
let listenOnce = (element, event, useCapture) => { | |
return new Promise(function (resolve, reject) { | |
let onEvent = function (ev) { | |
element.removeEventListener(event, onEvent, useCapture); | |
resolve(ev); | |
}; | |
element.addEventListener(event, onEvent, useCapture); |
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() { | |
if (document.visibilityState || document.webkitVisibilityState || document.msVisibilityState || document.mozVisibilityState || document.oVisibilityState) { | |
return | |
} | |
document.hidden = false; | |
document.visibilityState = "visible"; | |
var event = null; | |
var i = 0; | |
var fireEvent = function() { | |
if (document.createEvent) { |
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
<!-- http://www.architecturalsurfaces.net/ --> | |
<!-- HitsLink.com tracking script --> | |
<script type="text/javascript" id="wa_u" defer></script> | |
<script type="text/javascript" async>//<![CDATA[ | |
var wa_pageName=location.pathname; // customize the page name here; | |
wa_account="9E8D9CD29E9C908A8C8B969C8C"; wa_location=14; | |
wa_MultivariateKey = ''; // Set this variable to perform multivariate testing | |
var wa_c=new RegExp('__wa_v=([^;]+)').exec(document.cookie),wa_tz=new Date(), | |
wa_rf=document.referrer,wa_sr=location.search,wa_hp='http'+(location.protocol=='https:'?'s':''); |
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 sc_width = screen.width; | |
var sc_height = screen.height; | |
var sc_referer = "" + document.referrer; | |
try { | |
sc_referer = "" + parent.document.referrer | |
} catch (ex) { | |
sc_referer = "" + document.referrer | |
} | |
if (typeof sc_referer_scr08 !== "undefined") { | |
sc_referer = sc_referer_scr08 |
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() { | |
if (document.visibilityState || document.webkitVisibilityState || document.msVisibilityState || document.mozVisibilityState || document.oVisibilityState) { | |
return | |
} | |
document.hidden = false; | |
document.visibilityState = "visible"; | |
var event = null; | |
var i = 0; | |
var fireEvent = function() { | |
if (document.createEvent) { |
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
https://www.homebuyservice.co.uk/ | |
http://www.onesharpstore.com/ | |
https://www.ok.hu/ | |
https://www.transducertechniques.com/ | |
http://www.architecturalsurfaces.net/ | |
https://www.li.com/ | |
https://voceopina.com.br/ | |
http://www.daytonhistorybooks.com/ | |
https://selectrode.com/ | |
https://www.diabetes.co.uk/ |
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 sc_width = screen.width; | |
var sc_height = screen.height; | |
var sc_referer = "" + document.referrer; | |
try { | |
sc_referer = "" + parent.document.referrer | |
} catch (ex) { | |
sc_referer = "" + document.referrer | |
} | |
if (typeof sc_referer_scr08 !== "undefined") { | |
sc_referer = sc_referer_scr08 |
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
fish script: | |
for x in (seq 8) | |
rm out/snowflake/snowflake-6077141f4aff-osx-x86_64-3b578d.tar.gz | |
./rbm/rbm build snowflake --target alpha --target torbrowser-osx-x86_64 | |
tar xvf out/snowflake/snowflake-6077141f4aff-osx-x86_64-3b578d.tar.gz | |
echo (sha256sum ./Contents/MacOS/Tor/PluggableTransports/snowflake-client | |
end | |
Results: |
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
let slideWindow = (destX, time) => new Promise(resolve => { | |
let startTime = Date.now(); | |
let stopTime = startTime + time; | |
let startX = screenX; | |
let distance = destX - startX; | |
let speed = distance / time; | |
let animationFrame = () => { | |
if (Date.now() < stopTime) { | |
let timeElapsed = Date.now() - startTime; | |
screenX = startX + speed * timeElapsed; |
NewerOlder