Skip to content

Instantly share code, notes, and snippets.

View geongeorge's full-sized avatar
👋
Hello

Geon George geongeorge

👋
Hello
View GitHub Profile
@echo off
setlocal enabledelayedexpansion
set /a count=0
for /f "tokens=*" %%a in ('dir /b /od *.jpg') do (
echo ren "%%a" !count!.jpg
set /a count+=1
)
<meta name="viewport" content="width=device-width,initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes"/>
<meta name="full-screen" content="yes"/>
<meta name="screen-orientation" content="portrait"/>
/**
* use this to make a Base64 encoded string URL friendly,
* i.e. '+' and '/' are replaced with '-' and '_' also any trailing '='
* characters are removed
*
* @param {String} str the encoded string
* @returns {String} the URL friendly encoded String
*/
function Base64EncodeUrl(str){
return str.replace(/\+/g, '-').replace(/\//g, '_').replace(/\=+$/, '');
"scripts": {
"dev": "HOST=0.0.0.0 nuxt", <<---- add the host arguement
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"
},
@geongeorge
geongeorge / 1.MASM_Notes.md
Last active May 3, 2019 02:36
MASM x86 Assembly Programs

Notes

Print a Message

.model small
.stack 100h
.data
output db "Hello, World!"
@geongeorge
geongeorge / RESTful.txt
Created July 26, 2018 07:03
RESTful Routing
RESTful Routing
---------------
7 RESTful Routes for a blog app
Name Path HTTP Verb Purpose
-------------------------------------------
Index /blogs GET List all Blogs
New /blogs/new GET Show add new Form
Create /blogs/create POST Create new Post
Show /blog/:id GET Show a Blog Post