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 Glibc | |
func splitme(a: String) { | |
let a = a.uppercaseString | |
for j in (a.characters.split{$0 == " "}.map(String.init)) { | |
for i in 0...j.characters.count-1 { | |
let jrange = j.startIndex.advancedBy(i)..<j.endIndex | |
let jarray = j[jrange].characters.map {String($0)} | |
print(jarray.joinWithSeparator(" ")) | |
} |
This file has been truncated, but you can view the full file.
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
<!-- URL: http://blog.extramaster.net/2016/07/better-python-standard-library.html --> | |
<?xml version="1.0" encoding="Windows-1252" ?> | |
<!-- | |
@author Gregori Gerebtzoff, Andy Tran, Python Developers | |
@version 1.3 | |
--> | |
<NotepadPlus> | |
<AutoComplete> |
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
/* The MIT License (MIT) | |
* | |
* Copyright (c) 2015 Andy Tran | |
* | |
* Permission is hereby granted, free of charge, to any person obtaining a copy | |
* of this software and associated documentation files (the "Software"), to deal | |
* in the Software without restriction, including without limitation the rights | |
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
* copies of the Software, and to permit persons to whom the Software is |
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
<?xml version="1.0" ?> | |
<kml xmlns="http://www.opengis.net/kml/2.2"> | |
<Document> | |
<Name>USyd Buildings</Name> | |
<Placemark> | |
<name>1-3 Ross Street</name> | |
<description>Campus: Camperdown<br>Building Code: K06</description> | |
<Point> | |
<coordinates>151.184341,-33.884591</coordinates> | |
</Point> |
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
[{ | |
"staffonly" : "false", | |
"id" : "548", | |
"name" : "1-3 Ross Street", | |
"geocode" : { | |
"latitude" : "-33.884591", | |
"longitude" : "151.184341" | |
}, | |
"campus" : { | |
"name" : "Camperdown", |
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
// ==UserScript== | |
// @name Bigresource.com Bypass | |
// @author eXtraMaster | |
// @namespace bigresourceisspam | |
// @copyright 2013, Andy Tran (http://twitter.com/extramaster) | |
// @license Licensed under the MIT license - http://opensource.org/licenses/mit-license.php | |
// @description A script that will automatically bypass Bigresource.com, so that an accidental click on Google will still lead you straight to your answers | |
// @include http*://*.bigresource.com/* | |
// @version 1.0 | |
// @encoding UTF-8 |
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 __future__ import division | |
import winsound | |
import time | |
import math | |
def notesTofreq(a,length,factor=1): | |
print "Notes function called" | |
if len(a)<1: | |
return False | |
a=a.replace("|","") |
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
Rand( a=0.0, b=1 ) { | |
IfEqual,a,,Random,,% r := b = 1 ? Rand(0,0xFFFFFFFF) : b | |
Else Random,r,a,b | |
Return r | |
} | |
Loop { | |
if GetKeyState("Capslock", "T")=false{ | |
Random, charvar, 97, 122 | |
Send % Chr(charvar) | |
if Rand()>0.9{ |
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 ReplaceRegEx(origString,replaceString,replaceWith) | |
Set TempRegEx=New RegExp | |
TempRegEx.Pattern=replaceString | |
TempRegEx.IgnoreCase=True | |
ReplaceRegEx = TempRegEx.Replace(origString,replaceWith) | |
End Function | |
msgbox "Link Batch Downloader. Copyright (c) eXtraMaster, Andy Tran 2012, First Major scripting project in about a month..." | |
Set objFSO = CreateObject("Scripting.FileSystemObject") | |
Set objDictionary = CreateObject("Scripting.Dictionary") | |
currentDirectory = left(WScript.ScriptFullName,(Len(WScript.ScriptFullName))-(len(WScript.ScriptName))) |