Skip to content

Instantly share code, notes, and snippets.

View andrewwippler's full-sized avatar
:shipit:
Shipping Things

Andrew Wippler andrewwippler

:shipit:
Shipping Things
View GitHub Profile
@AaronDavidSchneider
AaronDavidSchneider / remarkable_tablet_get_update_machine_id.py
Last active April 12, 2021 01:08 — forked from chimpdude/remarkable1_tablet_get_update_machine_id.py
Generate random machine ids and send to reMarkable update server to find an ID that is approved for a firmware update.
#!/usr/bin/env python3
import time
import uuid
import random
import requests
# This script is tested and working as of November 2020.
# It is only a slightly modified version of leezu's script: https://gist.github.com/leezu/2efb1533d453b70db406b58eb6e3a2af
# leezu gets 99.9% of the credit
@FranzBusch
FranzBusch / Fastfile
Last active July 21, 2020 17:29
Sixt CI Certificates lane
####### Certificates #######
desc "Installs the certificates and profiles locally"
lane :certificates do |options|
if options[:use_temporary_keychain]
create_temporary_keychain
end
readonly = (options[:refresh_certificates] ? false : true)
force_for_new_devices = !readonly
@sandcastle
sandcastle / redirect-ingress.yml
Created August 27, 2017 02:07
An example of a ingress redirect using kubernetes and nginx `configuration-snippet`
kind: Ingress
apiVersion: extensions/v1beta1
metadata:
name: redirect-ingress
annotations:
ingress.kubernetes.io/configuration-snippet: |
if ($host ~ ^(.+)\.somedomain\.io$) {
return 301 https://$1.domain.io$request_uri;
}
spec:
@ferventcoder
ferventcoder / entire_chocolatey_setup.pp
Last active July 29, 2024 21:11
Setting up and configuring Chocolatey with Puppet
case $operatingsystem {
'windows': {
Package {
provider => chocolatey,
}
}
}
# ensure Chocolatey is installed - host the package internally
class {'chocolatey':
@joshuadavidnelson
joshuadavidnelson / example-output.html
Last active January 22, 2024 12:42
Using WordPress responsive images for css background-image property, in-line styling
<style>
.header {
background-image: url(http://local.dev/wp-content/uploads/2016/04/image-300x151.png)
}
@media only screen and (min-width: 300px) {.header {
background-image: url(http://local.dev/wp-content/uploads/2016/04/image-768x386.png)
}}
@media only screen and (min-width: 768px) {.header {
background-image: url(http://local.dev/wp-content/uploads/2016/04/image-1024x515.png)
}}
@hroling
hroling / gist:85f36e86d48285f08161
Last active March 28, 2021 02:42
Apache 2.4 SSL config for A+ on SSLLabs.com
OLD stuff. This was not enough for an A+ anymore.
@johnantoni
johnantoni / install.md
Last active April 27, 2020 15:44
install duplicity on centos 64bit

check os

cat /etc/redhat-release

install repo

sudo rpm -Uvh http://mirrors.kernel.org/fedora-epel/6/x86_64/epel-release-6-8.noarch.rpm
yum repolist

install duplicity

@barryvdh
barryvdh / _ide_helper.php
Last active October 24, 2024 17:13
Laravel IDE Helper for Netbeans / PhpStorm / Sublime Text 2 CodeIntel, generated using https://github.com/barryvdh/laravel-ide-helper
<?php
/**
* A helper file for Laravel 5, to provide autocomplete information to your IDE
* Generated for Laravel 5.5.13 on 2017-09-28.
*
* @author Barry vd. Heuvel <[email protected]>
* @see https://github.com/barryvdh/laravel-ide-helper
*/
namespace {
exit("This file should not be included, only analyzed by your IDE");