This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.bashrc: executed by bash(1) for non-login shells. | |
# see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) | |
# for examples | |
# If not running interactively, don't do anything | |
case $- in | |
*i*) ;; | |
*) return;; | |
esac |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"public_identifier": "nshadebe-64a36667", | |
"profile_pic_url": "https://media.licdn.com/dms/image/D5603AQE86r1ctXN_Uw/profile-displayphoto-shrink_400_400/0/1684497813558?e=1689811200&v=beta&t=-3uFPLGGLhAjiyFsTaQGzE_S9GzibpYBy_IsERIIzv8", | |
"background_cover_image_url": null, | |
"first_name": "Elon", | |
"last_name": "Musk", | |
"full_name": "Elon Musk", | |
"follower_count": null, | |
"occupation": "Draughting Coordinator at Anglo American", | |
"headline": "Entrepreneur And Disruptive Technology Enthusiast, Chief Executive Officer OF Tesla Motors", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ./public/electron.js | |
// --------------- | |
const PORT = 3000; | |
const WIN_WIDTH = 800; | |
const WIN_HEIGHT = 600; | |
const LAUNCH_FILE = '../build/index.html'; | |
// --------------- | |
const path = require('path'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.lv : Print Variable | |
ANY → print(f"[M@] $expr$ = [{$expr$}]")$END$ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() { | |
test('bob'); | |
test('Bob'); | |
test('jimmy'); | |
test('Hello there colorful world'); | |
test('Help'); | |
test('hell'); | |
test('D0D0D0'); | |
test('##@#!!#**#'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Ember from 'ember'; | |
export default Ember.Component.extend({ | |
fruitList : null, | |
init() { | |
this._super(...arguments); | |
let fruit = Ember.A(); | |
fruit.addObject({name:'Apple'}); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Full tutorial: http://codevinsky.ghost.io/phaser-2-0-tutorial-flappy-bird-part-2/ */ | |
'use strict'; | |
var Bird = function(game, x, y, frame) { | |
Phaser.Sprite.call(this, game, x, y, 'bird', frame); | |
this.anchor.setTo(0.5, 0.5); | |
// add flap animation and begin playing it | |
this.animations.add('flap'); | |
this.animations.play('flap', 12, true); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Full tutorial: http://codevinsky.ghost.io/phaser-2-0-tutorial-flappy-bird-part-3/ */ | |
'use strict'; | |
var Bird = function(game, x, y, frame) { | |
Phaser.Sprite.call(this, game, x, y, 'bird', frame); | |
this.anchor.setTo(0.5, 0.5); | |
this.animations.add('flap'); | |
this.animations.play('flap', 12, true); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Full tutorial: http://codevinsky.ghost.io/phaser-2-0-tutorial-flappy-bird-part-4/ */ | |
'use strict'; | |
var Pipe = function(game, x, y, frame) { | |
Phaser.Sprite.call(this, game, x, y, 'pipe', frame); | |
this.anchor.setTo(0.5, 0.5); | |
this.game.physics.arcade.enableBody(this); | |
this.body.allowGravity = false; | |
this.body.immovable = true; |
NewerOlder