See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
See the following links for further updates to Github Desktop for Ubuntu. These are official instructions. (also mentioned by fetwar on Nov 3, 2023)
For the sake of "maintaining the tradition" here is the updated version.
You got your hands on some data that was leaked from a social network and you want to help the poor people.
Luckily you know a government service to automatically block a list of credit cards.
The service is a little old school though and you have to upload a CSV file in the exact format. The upload fails if the CSV file contains invalid data.
The CSV files should have two columns, Name and Credit Card. Also, it must be named after the following pattern:
YYYYMMDD
.csv.
#!/bin/sh | |
set -e | |
set -x | |
for package in $(npm -g outdated --parseable --depth=0 | cut -d: -f3) | |
do | |
npm -g install "$package" | |
done |
PEP: XXXX | |
Title: Implement package signing in PyPI, pip, distutils | |
Version: $Revision$ | |
Last-Modified: $Date$ | |
Author: Giovanni Bajo <rasky@develer.com> | |
Status: Draft | |
Type: Process | |
Content-Type: text/x-rst | |
Created: 25-Jul-2014 | |
Post-History: XX-XXX-XXXX |
from PIL import Image, ImageDraw, ImageFont | |
# get an image | |
base = Image.open('Pillow/Tests/images/lena.png').convert('RGBA') | |
# make a blank image for the text | |
txt = Image.new('RGBA', base.size) | |
# get a font | |
fnt = ImageFont.truetype('Pillow/Tests/fonts/FreeMono.ttf', 40) | |
d = ImageDraw.Draw(txt) # drawing context |
#!/bin/bash | |
# relays and shell commands, but swallows any errors and always returns with | |
# an exit status of 0 | |
# | |
# Useful when docker 'RUN' command receives error codes when installing | |
# applications that can be ignored | |
# | |
# TODO: if the first arg starts with '-', then only filter using those | |
# codes. IE: arg1="-100,101". In this case we will swallow any 100,101 | |
# error codes, but nothing else so any other error codes will still get |
#!/bin/bash | |
# Performs a "safe" merge, confirming the commits to be merged, the merge | |
# strategy, any conflicts, etc. | |
# Useage: | |
# $ git safemerge master | |
# Commits: | |
# * bc911ef Fix bug in widget | |
# * e80f8d1 Clean things up | |
# | |
# Changes: |
// Just before switching jobs: | |
// Add one of these. | |
// Preferably into the same commit where you do a large merge. | |
// | |
// This started as a tweet with a joke of "C++ pro-tip: #define private public", | |
// and then it quickly escalated into more and more evil suggestions. | |
// I've tried to capture interesting suggestions here. | |
// | |
// Contributors: @r2d2rigo, @joeldevahl, @msinilo, @_Humus_, | |
// @YuriyODonnell, @rygorous, @cmuratori, @mike_acton, @grumpygiant, |
git add HISTORY.md
git commit -m "Changelog for upcoming release 0.1.1."
bumpversion patch
license: gpl-3.0 |