Skip to content

Instantly share code, notes, and snippets.

@bradrice
bradrice / nativescript.class2tns.package.json
Created July 19, 2019 20:11
Nativescript Class player package.json
{
"description": "Tooling U Class Player",
"license": "private",
"readme": "NativeScript Application",
"repository": "https://github.com/toolingudev/classappnativescript.git",
"name": "class2tns",
"version": "0.1.0",
"scripts": {
"test": "ng test"
},
@bradrice
bradrice / .gitignore
Created May 17, 2019 20:15
Python django .gitignore
# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
@bradrice
bradrice / package.json
Created March 12, 2019 20:37
class2tns json
{
"description": "Tooling U Class Player",
"license": "private",
"readme": "NativeScript Application",
"repository": "https://github.com/toolingudev/classappnativescript.git",
"name": "class2tns",
"version": "0.1.0",
"scripts": {
"test": "ng test"
},
@bradrice
bradrice / .json
Last active February 18, 2019 17:12
nativescript app package.json
{
"description": "Tooling U Class Player",
"license": "private",
"readme": "NativeScript Application",
"repository": "https://github.com/toolingudev/classappnativescript.git",
"name": "class2tns",
"version": "0.1.0",
"scripts": {
"test": "ng test"
},
@bradrice
bradrice / detectIE.js
Last active November 13, 2018 20:25
Detect IE10 and IE11
if(/MSIE \d|Trident.*rv:/.test(navigator.userAgent))
document.write('<script src="somescript.js"><\/script>');
@bradrice
bradrice / http.server sample
Last active November 1, 2018 19:01
Startup a python webserver for development #python #dev-server
python3 -m http.server
add a port
python3 -m http.server 8080
link:
https://docs.python.org/3/library/http.server.html
@bradrice
bradrice / SassMeister-input.scss
Created May 7, 2015 19:13
Generated by SassMeister.com.
// ----
// Sass (v3.4.13)
// Compass (v1.0.3)
// ----
@mixin respond-to($width){
@media (min-width: $width){
@content;
}
}
@bradrice
bradrice / SassMeister-input-HTML.html
Created May 7, 2015 15:10
Generated by SassMeister.com.
<a class="mylink">A link</a></a>
@bradrice
bradrice / SassMeister-input-HTML.html
Created May 7, 2015 12:32
Generated by SassMeister.com.
<div class="profile-brad"></div>
<div class="profile-alex"></div>
<div class="profile-chris"></div>
<div class="profile-anthony"></div>
@bradrice
bradrice / .gitignore
Last active August 29, 2015 14:20
.gitignore
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm
*.iml
## Directory-based project format:
.idea/
# if you remove the above rule, at least ignore the following:
# User-specific stuff:
# .idea/workspace.xml