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
/||||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||/ | |
/|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||/ | |
/|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||/ | |
/||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||/ | |
/|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||/ | |
/|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||/ | |
/||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||/ | |
/|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||/ | |
/|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||/ | |
/||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||//||||//|||||||//|//|||//||/ |
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
-,+[ Read first character and start outer character reading loop | |
-[ Skip forward if character is 0 | |
>>++++[>++++++++<-] Set up divisor (32) for division loop | |
(MEMORY LAYOUT: dividend copy remainder divisor quotient zero zero) | |
<+<-[ Set up dividend (x minus 1) and enter division loop | |
>+>+>-[>>>] Increase copy and remainder / reduce divisor / Normal case: skip forward | |
<[[>+<-]>>+>] Special case: move remainder back to divisor and increase quotient | |
<<<<<- Decrement dividend | |
] End division loop | |
]>>>[-]+ End skip loop; zero former divisor and reuse space for a flag |
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
Simple Permissive License 1.0 | |
[bit.ly/splicense] | |
Copyright (c) [year], [holder] | |
All rights reserved. | |
Redistribution and use in source or compiled forms, with or | |
without modification, are permitted provided that the following | |
conditions are met: |
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
#include <stdio.h> | |
#include <stdlib.h> | |
// Copyright (c) 2016, SYZYGY-DEV333 | |
// All rights reserved. | |
// Licensed under SPL 1.0 [splicense.pen.io] | |
int menu(); | |
void lista_processos(); | |
void mata_processo_nome(); |
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
BF to C translator, written in pipeslash | |
Copyright (c) 2016 SYZYGY-DEV333 | |
All rights reserved | |
Licensed under SPL 1 (splicense.pen.io) | |
/|||//|||//|||//|||||||//|//|||//|||//|||//|||//|||//||//||||//||||||||//|//|/ | |
/|||//||//|||||||//|//|//|||//|||//|||//|||//|//|||//|||//|//|||//|||//|||//|||/ | |
/|||//|//|||//|||//|||//|||//|||//|//|||//|//|//|||//||//|||//|||//|||||||//|||/ | |
/|||//||//||||||||//|//||||//||||//||||//||||||||//|//|||//|||//|||//|||//|||||/ | |
/|//|//|//|||||//|||//|||//|||//|||//|||//|||||//|//||||//||||//||||//||||/ |
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
type TicToc struct { | |
tic time.Time | |
} | |
func (ticToc * TicToc) Tic() { | |
ticToc.tic = time.Now() | |
} | |
func (ticToc * TicToc) TocPrint() { | |
fmt.Println(time.Now().Sub(ticToc.tic)) |
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
#!/usr/bin/python | |
import subprocess | |
import os, sys | |
from sys import argv | |
#zeroes out the first 512 bytes of the given disk. this is used to prevent partition table conflicts. | |
def zero_mbr(disk): | |
output = subprocess.call(['dd', 'if=/dev/zero', 'of=/dev/%s' % disk, 'bs=512', 'count=1'], shell=False, stdout=subprocess.PIPE) | |
#converts iso to dmg file using hdiutil, returns a string of the newly created dmg file for imaging |
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
// ==UserScript== | |
// @name slither-forcer | |
// @namespace SYZYGY-DEV333 | |
// @description Forces connection to a specific slither.io server | |
// @include http://slither.io/* | |
// @include https://slither.io/* | |
// @version 1.0 | |
// @grant none | |
// ==/UserScript== |
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
;; Chicken Scheme | |
;; While Macro in Chicken Scheme | |
;; SYZYGY-DEV333 | |
;; Apache v2 | |
(define-syntax loop | |
(ir-macro-transformer | |
(lambda (expr inject compare) | |
(let ((body (cdr expr))) | |
`(call-with-current-continuation |
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
#!/usr/bin/env python | |
# Polynomial Root Finder | |
# SYZYGY-DEV333 | |
# Apache 2.0 | |
step = 0.001 # smaller steps are more accurate, but slower | |
start = -10 # these parameters should be fine at -10 and 10 | |
stop = 10 | |
print "Python Polynomial Factoring" |