Skip to content

Instantly share code, notes, and snippets.

View nilbuild's full-sized avatar

Kamran Ahmed nilbuild

View GitHub Profile
@nilbuild
nilbuild / email-service-providers
Created February 9, 2016 08:11
Email Service Providers
gmail.com
yahoo.com
hotmail.com
aol.com
msn.com
live.co.uk
live.com.au
facebook.com
live.com
yahoo.ca
package main
import (
"flag"
"fmt"
"net"
"log"
"bufio"
"os"
)
@nilbuild
nilbuild / Appfile
Created May 29, 2018 10:56
Fastlane
# iOS
app_identifier("com.loremipsum.app")
apple_id("Apple-dev@loremipsum.com")
itc_team_id("230325677") # iTunes Connect Team ID
team_id("6NKC9IQ0YL") # Developer Portal Team ID
# Android
json_key_file "./google-play-api-secret.json"
package_name "com.timdo.app"
@nilbuild
nilbuild / license-badges.md
Created June 9, 2018 14:07 — forked from lukas-h/license-badges.md
License Badges for your Project

Markdown License badges

Collection of License badges for your Project's README file.
This list includes the most common open source and open data licenses.
Easily copy and paste the code under the badges into your Markdown files.

Notes

  • Badges are made with Shields.io.
  • This badges do not fully replace the license informations for your projects, they are only emblems for the README, that the user can see the License at first glance.  
  • 🇫🇷 Cette liste en français
  • Github has a new autodetection of the LICENSE file, which shows up the license at the repo overview
### Keybase proof
I hereby claim:
* I am kamranahmedse on github.
* I am kamranahmedse (https://keybase.io/kamranahmedse) on keybase.
* I have a public key whose fingerprint is A65F 8B34 7B29 A65B B62A AD3F 5D92 3C7A 0834 EA13
To claim this, I am signing this object:
@nilbuild
nilbuild / webpack.config.js
Created September 16, 2018 09:44
Test – Sample snippet to test embed functionality
const HtmlWebPackPlugin = require("html-webpack-plugin");
const htmlWebpackPlugin = new HtmlWebPackPlugin({
template: "./src/index.html",
filename: "./index.html"
});
module.exports = {
module: {
rules: [
@nilbuild
nilbuild / after.ts
Last active February 10, 2020 21:26
Use Partial Types in TypeScript
type User = {
name: string;
age: number;
gender: string;
};
// type PartialUser = {
// name?: string;
// age?: number;
// gender?: string;
@nilbuild
nilbuild / prefix-props.ts
Created April 12, 2021 10:47
Prefix any object's properties with the given string
type PrefixAll<T, A extends string> = { [P in keyof T & string as `${A}${P}`]: T[P] };
type Properties<T> = { [P in keyof T as T[P] extends Function ? never : P]: T[P] };
type PrefixProps<T, A extends string> = PrefixAll<Properties<T>, A>;
@nilbuild
nilbuild / java-roadmap.json
Created October 29, 2021 12:42
Java Roadmap — JSON
{
"mockup": {
"controls": {
"control": [
{
"ID": "1",
"typeID": "Arrow",
"zOrder": "39",
"w": "13",
"h": "63",
{
"mockup": {
"controls": {
"control": [
{
"ID": "0",
"typeID": "Icon",
"zOrder": "0",
"measuredW": "24",
"measuredH": "24",