Skip to content

Instantly share code, notes, and snippets.

View liamkernighan's full-sized avatar
🎯
Focusing

liamkernighan

🎯
Focusing
View GitHub Profile
{
"env": {
"browser": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:promise/recommended",
"plugin:sonarjs/recommended",
@oztune
oztune / install react-devtools v3
Created August 23, 2019 23:26
How to install React Dev Tools v3 so that you can have highlight updates again
1. Somewhere on your machine clone the project.
```
> git clone https://github.com/facebook/react-devtools.git
> cd react-devtools
```
2. Switch to the v3 branch
```
> git checkout v3
```
@radiosterne
radiosterne / index.html
Created December 22, 2018 15:44
Antd table with editing example
<meta charset="UTF-8">
<html>
<body>
<div id='root' />
</body>
<script type='text/javascript' src="./dist/index.js"></script>
</html>
c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -c -o main.o main.c
c:\gbdk\bin\lcc -Wa-l -Wl-m -Wl-j -DUSE_SFR_FOR_REG -o main.gb main.o
@greyscaled
greyscaled / README.md
Last active September 19, 2022 08:59
Sequelize + Express + Migrations + Seed Starter
@luizvaz
luizvaz / elotech.cs
Created August 8, 2017 00:46
Elotetch - C# SOAP XML Sign Oasis WSSecurity - Palotina/PR
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using System.Net;
using System.Net.Security;
using System.Reflection;
using System.Security.Cryptography;
using System.Security.Cryptography.X509Certificates;
@gashupl
gashupl / Program.cs
Created September 30, 2016 11:34
RSA Encrypting & Descrypting in C# sample
using System;
using System.Security.Cryptography;
using System.Text;
namespace RsaEncryptionSample
{
class Program
{
static void Main(string[] args)
{
@dmorosinotto
dmorosinotto / rollup.config.js
Created September 21, 2016 13:56
Roolup configuration for Typescript + CommonJS + production Uglify
// Rollup plugins to install as npm --save-dev
import typescript from "rollup-plugin-typescript";//used for typescript compilation
import resolve from "rollup-plugin-node-resolve"; //used for enabel NPM modules +
import commonjs from "rollup-plugin-commonjs"; //with probably use commonjs
import replace from "rollup-plugin-replace"; //used for replacing ENV varible in code
import uglify from "rollup-plugin-uglify"; //used for production minification
// import angular from "rollup-plugin-angular"; //used for Angular2 application see https://www.npmjs.com/package/rollup-plugin-angular
// Rollup configuration inspired by https://www.youtube.com/watch?v=ICYLOZuFMz8
export default {
entry: "path/to/main.ts", //entrypoint to traverse app
@ithinkihaveacat
ithinkihaveacat / service-worker.d.ts
Last active May 1, 2024 01:04 — forked from tiernan/service-worker.d.ts
Typings for using the Service Worker API with TypeScript
/**
* Copyright (c) 2016, Tiernan Cridland
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby
* granted, provided that the above copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER
* IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
@vluzrmos
vluzrmos / Post.php
Created August 6, 2015 01:37
Example how to remove the eager loading on Eloquent.
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Post extends Model
{
/**
* Array of relationships to load.