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
; +-------------------------------------------+ | |
; | Program ...... FASMCam | | |
; | Author ....... Marcus Araujo | | |
; | Description .. this application shows how | | |
; | to access webcam via FASM. | | |
; +-------------------------------------------+ | |
format PE GUI 4.0 | |
entry codestart |
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
<?php | |
/** | |
* The template for displaying all pages. | |
* | |
* This is the template that displays all pages by default. | |
* Please note that this is the WordPress construct of pages | |
* and that other 'pages' on your WordPress site will use a | |
* different template. | |
* | |
* @package WordPress |
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
from glob import glob | |
import os | |
domains = glob('../domains/*') | |
for domain in domains: | |
domain_name = domain.rsplit('/')[-1] | |
public_html = '%s/public_html' % domain | |
if not 'kredyt' in domain_name: | |
print "NOT %s" % domain_name |
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
XHR finished loading: "http://localhost:3000/databases/contentbase3/collections/testcol/51238d0be4b00d3080f60041??". angular.js:9002 | |
XHR finished loading: "http://localhost:3000/databases/contentbase3/collections/testcol/51238d0be4b0f0616fad676c??". angular.js:9002 | |
XHR finished loading: "http://localhost:3000/databases/contentbase3/collections/testcol/51238d0be4b00d3080f60040??". angular.js:9002 | |
XHR finished loading: "http://localhost:3000/databases/contentbase3/collections/testcol/51238d0be4b0f0616fad676b??". angular.js:9002 | |
XHR finished loading: "http://localhost:3000/databases/contentbase3/collections/testcol/51238d0be4b0f0616fad676d??". angular.js:9002 | |
DELETE http://localhost:3000/databases/contentbase3/collections/testcol/51238d0ce4b00d3080f60042? 405 (Method Not Allowed) angular.js:9002 | |
XHR finished loading: "http://localhost:3000/databases/contentbase3/collections/testcol/51238d0ce4b00d3080f60042??". angular.js:9002 | |
DELETE http://localhost:3000/databases/contentbase3/collections/testcol/51238d0ce4b0f06 |
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
# Benchmark | |
{Benchmark} = require 'benchmark' | |
suite = new Benchmark.Suite | |
suite.add("mapList(inputs)", | |
fn: -> | |
mapList(inputs) | |
) |
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
fs = require 'fs' | |
cheerio = require 'cheerio' | |
file = __dirname + '/test.html' | |
f = fs.readFileSync file, 'utf8' | |
$ = cheerio.load f | |
inputs = $('html').toArray() | |
console.log JSON.stringify inputs # TypeError: Converting circular structure to JSON |
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
fs = require 'fs' | |
f = fs.readFileSync process.argv[2], 'utf8' | |
reSplit = /\((.+?)\)/g | |
lista = f.match reSplit | |
fs.writeFileSync process.argv[3], lista.join(' ') | |
if process.argv.length < 3 |
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
html = require './html' | |
q = require './q' | |
{sequence} = q | |
{unpatch} = html | |
index = 'http://rozklady.mzkjastrzebie.com/index.php?MenuItem=2' | |
action = | |
parseUrl: index |
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
import json | |
import socket | |
s = socket.create_connection(("127.0.0.1", 5090)) | |
s.sendall(json.dumps(({"id": 1, "method": "Hello.Hello", "params": ["hello"]}))) | |
print s.recv(4096) |
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
function vialModule(module) | |
local pos = Self.Position() | |
Self.DropFlasks(pos.x, pos.y, pos.z) | |
module:Delay(15000) -- check every 15s | |
end | |
local VialModule = Module.New('VialModule', vialModule) |