To use the profiler, just use import pyprofile
and if the function to be profiled is named stupid_code
use the profiler as follows
@pyprofile def stupid_code(): # do something stupid here
To use the profiler, just use import pyprofile
and if the function to be profiled is named stupid_code
use the profiler as follows
@pyprofile def stupid_code(): # do something stupid here
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
Version 2, December 2004 | |
Copyright (C) 2016 Sayan Goswami <goswami.sayan47@gmail.com> | |
Everyone is permitted to copy and distribute verbatim or modified | |
copies of this license document, and changing it is allowed as long | |
as the name is changed. | |
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
<?php | |
$topUp = 100; | |
list($integerPart1, $integerPart2) = convertTo48bit($topUp); | |
$packedInteger = pack("vV", $integerPart1, $integerPart2); | |
echo json_encode($packedInteger) . "\n"; |
Where are you based in the UK? | How would you describe what you do? | Is your primary skill set(s) | How old are you? | How many years have you been a web professional? | How many years have you been freelance? | What is your DAY (not hourly) rate? | DAY RATE (clean) | What is your HOUR (not daily) rate? | HOUR RATE (clean) | How do you primarily charge clients? | Do you normally request a deposit before starting work on a project? | Do you normally use a contract? | Do you mostly work … | What is the average value of projects you work on? | What is your gender? | Do you primarily charge a fixed rate or does your rate vary between clients? | What is the average amount of time spent working on a project? | How many projects do you tend to work on at any on time? | What is your normal invoicing terms? | Where do you primarily work? | On average, how many hours a day do you normally work? | On average, how many days a week do you normally work? | Do you have an accountant? | What accounting software do you use, if any? | Accounting software (clean) | Is fr |
---|
function upload(file) { | |
var imageLink =""; | |
/* Is the file an image? */ | |
if (!file || !file.type.match(/image.*/)) return; | |
var fd = new FormData(); | |
fd.append("image", file); // Append the file | |
fd.append("key", "<Imgur API key>"); |
#!/bin/bash | |
pushd . | |
dir=$(pwd) | |
cd $2 | |
$1 --preserve-paths --relative-only $(find $dir/$3 -iname "*.gcda") >/dev/null | |
echo "#!/usr/bin/python | |
import json,sys,codecs |
javascript:{window.location='https://ohdear.app/tools/reachable?prefill='+encodeURIComponent(window.location.href)} |
#!/bin/sh | |
#setup dependencies | |
sudo apt-get install --reinstall linux-headers-generic build-essential | |
#get patched drivers | |
wget http://www.lewiscowles.co.uk/dls/MT7601U-14.04-patched.tar -O - | tar -x | |
cd MT7601U-14.04-patched | |
# build and install |
node { | |
try{ | |
notifyBuild('STARTED') | |
bitbucketStatusNotify(buildState: 'INPROGRESS') | |
ws("${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}/") { | |
withEnv(["GOPATH=${JENKINS_HOME}/jobs/${JOB_NAME}/builds/${BUILD_ID}"]) { | |
env.PATH="${GOPATH}/bin:$PATH" | |
stage('Checkout'){ |
// functor.c : Illustrates run-time polymorphism in C. | |
// | |
#include <memory.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
//////////////////////////////////////////////////////////////////////////////// | |
// APIs |