Skip to content

Instantly share code, notes, and snippets.

View floodedcodeboy's full-sized avatar

Jacob Gabriel floodedcodeboy

  • London, United Kingdom
  • 16:25 (UTC +01:00)
View GitHub Profile
@MoonTahoe
MoonTahoe / upload.yaml
Last active August 14, 2024 20:31
Github Action to build iOS app with expo and upload to testflight
# Just place this file in your repo under the .github/workflows folder.
# You set all of the secrets in the setting of the repo
name: Deploy to Testflight
# When a pull request is closed...
# This is because this action commits back to the repository
# so setting this on a push would cause an infinite loop of commits
# unless you pragmatically check the contents of the repo or something
@foobarhl
foobarhl / cloudflare-ddns-update.sh
Last active January 2, 2024 14:37 — forked from Tras2/cloudflare-ddns-update.sh
A bash script to update a Cloudflare DNS A record with the external IP of the source machine
#!/bin/bash
# A bash script to update a Cloudflare DNS A record with the external IP of the source machine
# Used to provide DDNS service for my home
# Needs the DNS record pre-creating on Cloudflare
## Based on https://gist.github.com/Tras2/cba88201b17d765ec065ccbedfb16d9a with updates to use
## per-zone configurable access tokens available in the API sections of your Cloudflare profile
## - info@foo-games.com
@pavinjosdev
pavinjosdev / validate_cidr.php
Last active February 23, 2023 15:19 — forked from mdjekic/validate_cidr.php
PHP function for validating CIDR notation format (ipv4, ipv6)
<?php
/**
* Validates the format of a CIDR notation string
*
* @param string $cidr
* @return bool
*/
function validateCidr($cidr)
{
@baliame
baliame / cf-example-stack.yaml
Created March 29, 2018 10:03
Cloudformation basics blog post @ cheppers.com
---
AWSTemplateFormatVersion: "2010-09-09"
Parameters:
DBPassword:
Type: String
NoEcho: true # Specifies that this string should never be printed on the interface or through the API.
AllowedPattern: ^[a-zA-Z0-9_]*$ # Provided strings must match this regex.
MinLength: 8
@steven2358
steven2358 / ffmpeg.md
Last active September 10, 2024 15:11
FFmpeg cheat sheet
@PCreations
PCreations / rxjs-diagrams.md
Last active January 18, 2024 08:52
Super Intuitive Interactive Diagrams to learn combining RxJS sequences by Max NgWizard K
@tzapu
tzapu / docker-compose.yml
Last active September 26, 2022 05:13
docker compose file for local server, plex, transmission, sonarr, radarr, ombi, netdata, nextcloud
version: '2.1'
services:
transmission:
container_name: transmission
image: dperson/transmission
restart: unless-stopped
depends_on:
- plex
network_mode: host
environment:
@julekgwa
julekgwa / cheatsheet.md
Last active August 9, 2021 04:19
Protractor API Cheatsheet with Examples
@hardentoo
hardentoo / tmux-cheatsheet.markdown
Created April 3, 2017 18:31 — forked from MohamedAlaa/tmux-cheatsheet.markdown
tmux shortcuts & cheatsheet

tmux shortcuts & cheatsheet

start new:

tmux

start new with session name:

tmux new -s myname
@jlouros
jlouros / protractor.screenshot.reporter.js
Created March 22, 2017 10:51
Protractor configuration to take screenshots on test failures (using Jasmine framework)
/* eslint import/no-extraneous-dependencies: ["off"] */
/* eslint func-names: ["off"] */
/* global browser */
/**
* Jasmine reporter used to take screenshots every time a test fails
* on your 'protractor.conf.js' (Protractor configuration file)
* include a reference to this file `const ScreenshotReporter = require('./screenshotReporter.js');`
* and hook it up inside 'onPrepare()' `jasmine.getEnv().addReporter(new ScreenshotReporter('reports/e2e-failures'));`
*/