Use this script to bootstrap an install of Scoop regardless of your version of Powershell
To use run this from Powershell:
iex (new-object net.webclient).downloadstring('http://bit.ly/1ECcuEn')
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. |
Cls | |
Write-Host "Searching for repositories to update..." | |
Write-Host | |
$dirs = Get-ChildItem | where {$_.PsIsContainer} | where { Get-ChildItem $_ -filter ".hg" } | |
foreach ($dir in $dirs) | |
{ | |
Start-Job -Name HgUpdate$dir -ArgumentList @($dir.FullName) -ScriptBlock { | |
pushd $args[0] | |
hg pull --update |
info it worked if it ends with ok | |
verbose cli [ 'C:\\Program Files (x86)\\nodejs\\\\node.exe', | |
verbose cli 'C:\\Program Files (x86)\\nodejs\\node_modules\\npm\\bin\\npm-cli.js', | |
verbose cli 'install', | |
verbose cli '-g', | |
verbose cli 'express' ] | |
info using [email protected] | |
info using [email protected] | |
verbose config file C:\Users\Simon\.npmrc | |
verbose config file C:\Program Files (x86)\nodejs\etc\npmrc |
import urllib2,os; pf='Package Control.sublime-package'; ipp=sublime.installed_packages_path(); os.makedirs(ipp) if not os.path.exists(ipp) else None; urllib2.install_opener(urllib2.build_opener(urllib2.ProxyHandler())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print 'Please restart Sublime Text to finish installation' |
#!/usr/bin/python | |
# synomanager.py | |
# Usage: ./synomanager.py [-r] | |
# Running without any arguments will notify you of invalid paths | |
# only. To remove the invalid paths run with -r or --remove | |
import psycopg2 | |
import sys | |
import os.path | |
import getopt |
/* | |
@author Simon Hartcher | |
@studentNo c3185790 | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <limits.h> | |
#include <stdint.h> | |
#include <stdbool.h> | |
#include <string.h> |
#include "question2.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "question1.h" | |
int | |
load_data(FILE *fp, t_data *ptr_data) { | |
//read into array | |
fread(&ptr_data->n, BINARY_N_LENGTH, 1, fp); |
int | |
load_data(FILE *fp, t_data *ptr_data) { | |
//read into array | |
fread(&ptr_data->n, BINARY_N_LENGTH, 1, fp); | |
//get n | |
int n = extract_little((char *)&ptr_data->n, 0, BINARY_N_LENGTH); | |
//allocate array | |
ptr_data->array = malloc(sizeof(t_double) * n); |
$cmd = "java -jar $(Resolve-Path $env:SCOOP)\apps\pixel-dungeon\1.7.2a-1\desktop-1.7.2a-1.jar" | |
start-job -scriptblock { iex $cmd } |