I hereby claim:
- I am sa7mon on github.
- I am salmon (https://keybase.io/salmon) on keybase.
- I have a public key whose fingerprint is E2DF 793D DF65 BC81 81B9 E63B 3592 D28F 6373 DA51
To claim this, I am signing this object:
public static String convertListToCsv(List<String> listToConvert) { | |
String commaSeparatedValues = ""; | |
//Iterate through the list and append comma after each values | |
Iterator<String> iter = listToConvert.iterator(); | |
while (iter.hasNext()) { | |
commaSeparatedValues += iter.next() + ","; | |
} | |
//Remove the last comma | |
if (commaSeparatedValues.endsWith(",")) { | |
commaSeparatedValues = commaSeparatedValues.substring(0, |
I hereby claim:
To claim this, I am signing this object:
find /Applications -name Sparkle.framework -exec defaults read {}/../../Info.plist SUFeedURL \; |
# SSH Agent Functions | |
# Mark Embling (http://www.markembling.info/) | |
# | |
# How to use: | |
# - Place this file into %USERPROFILE%\Documents\WindowsPowershell (or location of choice) | |
# - Import into your profile.ps1: | |
# e.g. ". (Resolve-Path ~/Documents/WindowsPowershell/ssh-agent-utils.ps1)" [without quotes] | |
# - Enjoy | |
# | |
# Note: ensure you have ssh and ssh-agent available on your path, from Git's Unix tools or Cygwin. |
#Seeso Methodology
Get video clip info
Request
GET https://feed.theplatform.com/f/NZILfC/nbcott-prod-all-media?byAvailabilityState=available&byId=[EPISODEIDHERE]&form=cjson
license: gpl-3.0 |
<!DOCTYPE html> | |
<head> | |
<meta charset="utf-8"> | |
<script src="https://d3js.org/d3.v4.min.js"></script> | |
<style> | |
body { margin:0;position:fixed;top:0;right:0;bottom:0;left:0; } | |
</style> | |
</head> | |
<body> |
alias rsynccopy="rsync --partial --progress --append -r" | |
alias rsyncmove="rsync --partial --progress --append --remove-sent-files -r" |
XRANDOM | |
exec &>/dev/null | |
export PATH=$PATH:$HOME:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin | |
function kurl() { | |
read proto server path <<<$(echo ${1//// }) | |
DOC=/${path// //} | |
HOST=${server//:*} | |
PORT=${server//*:} | |
[[ x"${HOST}" == x"${PORT}" ]] && PORT=80 |
# Rename all files in a folder to a random name, while keeping the original extension | |
$path = "path\to\files\here" | |
foreach($file in $(Get-ChildItem -Path $($path + "*"))) { | |
$extension = [System.IO.Path]::GetExtension($file.FullName); | |
$randomName = [System.IO.Path]::ChangeExtension([System.IO.Path]::GetRandomFileName(), $extension) | |
Write-Host "Changing File $($file.Name) to $randomName" |