Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
#!/usr/bin/perl -w | |
# source: http://www.kirsle.net/blog/kirsle/building-a-better-keylogger | |
# keylog2 - a rootless keylogger that only requires an X server and the xinput | |
# command (provided by xorg-x11-apps on Fedora). You'll also need to install | |
# the Perl module IO::Pty::Easy. | |
# | |
# Unlike my first keylogger proof-of-concept, this one doesn't require root | |
# privileges because it just uses the X Window System. Therefore it only | |
# catches key inputs made to graphical programs on the same X server that the |
Awesome PHP has been relocated permanently to its own Github repository. No further updates will made to this gist.
Please open an issue for any new suggestions.
Ozgur kaynakli projelere destek olmak, bir yazilimcinin kendini gelistirmesi, kariyerinde ilerlemesi, ve daha da onemlisi baskalarina yardimci olabilmeleri ve topluluga katki saglamalari acisindan gercekten cok onemli.
Girecegin is mulakatlarinin hatri sayilir bir oraninda ozgur kaynakli kodlarin, yan projelerin, ve is disinda kendini gelistirmek icin neler yaptigin hakkinda konusuyor olacaksin – En azindan Silikon Vadisi'nde durum boyle.
Yeni teknolojiler ogrenmekten, daha once tanimadigin onlarca insanla iletisim kurmak; kendini ve yazdigin kodu tum dunyanin gozleri onune sermek biraz urkutucu olabilse de, sana cok sey katacaktir.
Bu dokumanda konuyla ilgili aklima gelenleri paylasiyorum. Eminim gozumden kacan seyler olacak. Eklemek istediklerini, gorus, dusunce, onerileri, ve yorumlarini ekle.
#!/usr/bin/env python2 | |
""" | |
Author: takeshix <takeshix@adversec.com> | |
PoC code for CVE-2014-0160. Original PoC by Jared Stafford (jspenguin@jspenguin.org). | |
Supportes all versions of TLS and has STARTTLS support for SMTP,POP3,IMAP,FTP and XMPP. | |
""" | |
import sys,struct,socket | |
from argparse import ArgumentParser |
import sys; from PIL import Image; import numpy as np | |
chars = np.asarray(list(' .,:;irsXA253hMHGS#9B&@')) | |
if len(sys.argv) != 4: print( 'Usage: ./asciinator.py image scale factor' ); sys.exit() | |
f, SC, GCF, WCF = sys.argv[1], float(sys.argv[2]), float(sys.argv[3]), 7/4 | |
img = Image.open(f) | |
S = ( round(img.size[0]*SC*WCF), round(img.size[1]*SC) ) | |
img = np.sum( np.asarray( img.resize(S) ), axis=2) |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
# Elixir has lazily evaluated enumerable objects that allow you | |
# to work with enumerable objects like lists either only as needed | |
# or infinitely. | |
# Start up iex to play around | |
$ iex | |
# Typical enumeration is done eagerly where the result is computed ASAP | |
iex> Enum.map(1..10, fn i -> i * 2 end) | |
[2, 4, 6, 8, 10, 12, 14, 16, 18, 20] |
go test -run=. -bench=. -benchtime=5s -count 5 -benchmem -cpuprofile=cpu.out -memprofile=mem.out -trace=trace.out ./package | tee bench.txt | |
go tool pprof -http :8080 cpu.out | |
go tool pprof -http :8081 mem.out | |
go tool trace trace.out | |
go tool pprof $FILENAME.test cpu.out | |
# (pprof) list <func name> | |
# go get -u golang.org/x/perf/cmd/benchstat | |
benchstat bench.txt |
// Copyright 2017, the Flutter project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() { | |
runApp(new TestApp()); | |
} |