Skip to content

Instantly share code, notes, and snippets.

Rushi Soni rushi216

View GitHub Profile
View Form content types
1. URL encoded
Content-Type: application/x-www-form-urlencoded
2. Multipart
Content-Type: multipart/form-data
3. plain
Content-Type: text/plain
4. json
View test
https://aid-frontend.prod.atl-paas.net/atlassian-id/front-end/4.5.0/static/js/main.17d3fc99.chunk.js
View hello_kittie_t
EnCt2dd881b054ac5e9720caf947a4807817665d3e8a6dd881b054ac5e9720caf947ak548UQ7tkQD
o1kgE21qZ5EvXO1prOx9fXXiYQQ==IwEmS
View hello_kittie_g
EnCt2e763498051dde3b43bb2d9b68b7c135995adbe0ce763498051dde3b43bb2d9b6xpPy2UotiQF
ehOwB21rok4MzDcdVnEq3F52pUvgWFB/nwZhWsLJB5Skuk205SQkgW+VZ2+PrFUaHMatUzmF88+c1mix
8gFi37y9ExbWtwWTdsUlw9Xuvl90Mtwa0l2oAz9icuBm1MzDa8AKTQDDAotndbYhrzY7r1pTB1V0Pe4x
kiibUnEsxb8GjBkjCXgrZauUbHFtuBxkZoA8TIfXcm2S+c/LHv5AiPwRJY9jH7VhtDRT6Ix3ftF80WWr
ryztFxVXig8IdQ6Os7FMH4Q==IwEmS
View hello_kitty_a0
EnCt2025c82c1c728cdc2d053d25959e7e9f945b3076b025c82c1c728cdc2d053d259bsphPUpXrwE
3oKS4floOfVD1LJbtF8vcCq+9LZQN7peTOkRfhd55pR97nQKHVJ82kKwphVQ=IwEmS
EnCt25806f13ad2172ae9d438555b4f0cc870c6f175e45806f13ad2172ae9d438555bgBUK91bLXAK
dl8382lrW+lvRR+i8pBOF6KFhkI+4r9JlxSmALfPvQ1pSj+HjTh6ujiX3X7g=IwEmS
View hello_kittie_s
EnCt2470fbba01bb97a511901edbd4d486a2ee5f2ff59470fbba01bb97a511901edbdar6bFw1zRQI
ri7F94FlzrXu9PKQs64y63Xyd5jhPxE7PVyZXvRL5bY+C7dH3J4mXJ1v7bDOhO1N1aWfmkxwHEBRiX7B
3ONU/AoFmlvOmmZzjRFbLhmXoIB26EUjG/iYHxzzEAZa0zPWNSkUtHT+rHz0=IwEmS
EnCt27021d626d31db7056b94bde3ad6de6eef265f6477021d626d31db7056b94bde3dZkn3HtgpgB
Lr3UA21ppCirpZZVk8ji4ynAf4ZtKsBh4eYiyux791Jvmh19Da8Tn358GFvktiHDyB4jnn6rBmqnUPzL
nbjhDa3Z8wowib7yBVORvggKsvDy15gMttOff0MOt4C5GhkPAUWo//JFHX9M=IwEmS
View canvas
<canvas id="c" width="14" height="14"></canvas>
<br/>
<img id="img" src="bla.png"/>
<script>
var canvas = document.getElementById("c");
var ctx = canvas.getContext("2d");
var image = document.getElementById("img");
View ng2
app with systemjs
app with systemjs bundling/minification
app with aot and systemjs
app with aot and rollup bundling/minification/treeshaking
app with webpack
app with webpack and aot
angular cli (aot and webpack)
webpack-core-watcher
View mysql_dump_s3.sh
#!/bin/sh
HOST=XXX
DATABASE=XXX
USER=XXX
PASS=XXX
FILE=db-`date +"%d"`.sql
mysqldump --opt --host=${HOST} --user=${USER} --password=${PASS} ${DATABASE} > ${FILE}
View ef_migrations.md

Code based:

Simple:

Just Enable-Migrations and Add-Migration everytime when you update model then Update-Database

Simple without running Update-Database everytime manually (however add-migration is necessary):

Use Database.SetInitializer at app startup like below:

You can’t perform that action at this time.