Skip to content

Instantly share code, notes, and snippets.

View chall3ng3r's full-sized avatar

Faisal Iqbal chall3ng3r

View GitHub Profile
@chall3ng3r
chall3ng3r / chall3ng3r.omp.json
Last active December 10, 2021 13:52
ohmyposh.dev - config
{
"$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json",
"final_space": true,
"console_title": true,
"console_title_style": "template",
"console_title_template": "{{.User}}@{{.Host}} in {{ .Path }}",
"blocks": [
{
"type": "prompt",
"alignment": "left",
@ch3ckmat3
ch3ckmat3 / README.md
Last active March 30, 2021 15:54 — forked from jamesramsay/README.md
Gmail: delete old emails automatically

Gmail: delete old emails automatically

Automatically deletes old emails that match the specified label.

Get started

  • Create a new Google Apps Script at https://script.google.com
  • Overwrite the placeholder with the javascript below
  • Update the following constants:
  • LABEL_TO_DELETE: the label that should be have old messages deleted
import 'package:flutter/material.dart';
class AnimatedCount extends ImplicitlyAnimatedWidget {
AnimatedCount({
Key key,
@required this.count,
@required Duration duration,
Curve curve = Curves.linear,
}) : super(duration: duration, curve: curve, key: key);
@g3rhard
g3rhard / docker-compose.yaml
Created July 10, 2019 06:01
docker-compose for ipsec vpn + pihole + telegram proxy
version: '2'
services:
pihole:
image: pihole/pihole:latest
container_name: pihole
volumes:
- /etc/localtime:/etc/localtime:ro
- /dev/rtc:/dev/rtc:ro
dns:
@AustinSaintAubin
AustinSaintAubin / I2C_Scanner.ino
Last active November 20, 2023 11:59
Arduino_I2C-Scanner - i2c scanner for Arduino hardware, ESP8266, ESP32
/*===========================================================================
Title: I2C Scanner
- Repository: https://gist.github.com/AustinSaintAubin/dc8abb2d168f5f7c27d65bb4829ca870
Version: 8
Date: 2018 / 02 / 17
Author: Austin St. Aubin
Email: AustinSaintAubin@gmail.com
Description:
@LotteMakesStuff
LotteMakesStuff / Colors.cs
Created April 6, 2017 23:45
Trying to set Colours from code but need something better than the few that unity provide and dont wanna mess around with colour values for ages? Colors is your friend!!!
using UnityEngine;
public class Colors
{
// NOTE: The follwing color names come from the CSS3 specification, Section 4.3 Extended Color Keywords
// http://www.w3.org/TR/css3-color/#svg-color
public static readonly Color AliceBlue = new Color32(240,248,255,255);
public static readonly Color AntiqueWhite = new Color32(250,235,215,255);
public static readonly Color Aqua= new Color32(0,255,255,255);
@jmsaavedra
jmsaavedra / urldecode.ino
Created December 14, 2013 20:08
URL encoded string to character string (for arduino here)
char *in = "!%40%23%24%25%5e%26*()_%2b";
char *out = "000000000000000000000000000000";
void setup(){
Serial.begin(9600);
while(!Serial){
;
}
Serial.println(in);
urldecode2(out,in);