float rand(float n){return fract(sin(n) * 43758.5453123);}
float noise(float p){
float fl = floor(p);
float fc = fract(p);
return mix(rand(fl), rand(fl + 1.0), fc);
}
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
// renderer/fbo_renderer.go | |
// Copyright 2016 The G3N Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style | |
// license that can be found in the LICENSE file. | |
package renderer | |
import ( | |
"errors" |
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
import 'vendor/tinygo' | |
const go = new Go(); | |
go.importObject.env['main.defineClass'] = function(namePtr, nameLen, cPtr, cGcPtr, pPtr/*, pGcPtr*/) { | |
const mem = new DataView(go._inst.exports.memory.buffer) | |
const decoder = new TextDecoder("utf-8"); | |
const name = decoder.decode(new DataView(go._inst.exports.memory.buffer, namePtr, nameLen)); | |
const constructorID = mem.getUint32(cPtr, true) |
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
logfile=$(date +%Y%m%d%H%M).log | |
targetfile=test.zip | |
# Start 1 processes for cracking mixalpha-numeric maximum 5 digits | |
fcrackzip -c Aa1 -b -l 1-5 --verbose -u $targetfile & >> $logfile & | |
# Start 62 processes for cracking mixalpha-numeric equal to 6 digits | |
eval echo\ {A..Z}AAAAA\; | xargs -I % -P 26 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & | |
eval echo\ {a..z}AAAAA\; | xargs -I % -P 26 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & | |
eval echo\ {0..9}AAAAA\; | xargs -I % -P 10 fcrackzip -c Aa1 -b -p % --verbose -u $targetfile >> $logfile & |
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 pcsc = require('pcsclite'); | |
var iconv = require('iconv-lite'); | |
var pcsc = pcsc(); | |
pcsc.on('reader', function(reader) { | |
console.log('New reader detected', reader.name); | |
reader.on('error', function(err) { |
Installation, configuration, patching & troubleshooting guide to the Ulteo-OVD services. Additional details of this software can be found on their website. Here are some useful resources.
- Ulteo home - http://www.ulteo.com/home/
- Ulteo Downloads - http://ulteo.com/home/en/ovdi/openvirtualdesktop/3.0
- Ulteo OVD source code - http://www.ulteo.com/home/en/download/sourcecode
- Additional OVD source code access - http://archive.ulteo.com/mirror/ovd/releases/sources/
- Community forums - https://groups.google.com/forum/?fromgroups#!forum/ulteo-ovd-community-support
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://support.microsoft.com/zh-tw/kb/3080351 |
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
import sys | |
import ctypes | |
import time | |
EnumWindows = ctypes.windll.user32.EnumWindows | |
EnumChildWindows = ctypes.windll.user32.EnumChildWindows | |
EnumWindowsProc = ctypes.WINFUNCTYPE(ctypes.c_bool, ctypes.POINTER(ctypes.c_int), ctypes.POINTER(ctypes.c_int)) | |
GetWindowText = ctypes.windll.user32.GetWindowTextW | |
GetWindowTextLength = ctypes.windll.user32.GetWindowTextLengthW | |
IsWindowVisible = ctypes.windll.user32.IsWindowVisible |
NewerOlder