| Action | Shortcut |
|---|---|
| Scroll line up | ctrl+shift+up (also ⌥+⌘+⇞ and ⌘+↑ on macOS) |
| Scroll line down | ctrl+shift+down (also ⌥+⌘+⇟ and ⌘+↓ on macOS) |
| Scroll page up | ctrl+shift+page_up (also ⌘+⇞ on macOS) |
| Scroll page down | ctrl+shift+page_down (also ⌘+⇟ on macOS) |
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
| // the tl;dr -> https://storage.randy.gg/entity%20midwit.png | |
| /* | |
| ENTITY MEGASTRUCT | |
| by randy.gg | |
| This is an extremely simple and flexible entity structure for video games that doesn't make you want to | |
| die when you're 20k lines deep in a project. |
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
| package main | |
| import "core:log" | |
| // This extra stuff comes from https://github.com/baldgg/blueprint | |
| import "bald:utils" | |
| import "bald:utils/shape" | |
| import "bald:utils/color" | |
| import "bald:utils/string_store" |
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 'dart:io'; | |
| import 'package:path/path.dart'; | |
| import 'package:sqflite/sqflite.dart'; | |
| import 'package:path_provider/path_provider.dart'; | |
| class DatabaseHelper { | |
| static final _databaseName = "MyDatabase.db"; | |
| static final _databaseVersion = 1; |
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
| --- Actions --- | |
| $Copy <M-C> | |
| $Cut <M-X> <S-Del> | |
| $Delete <Del> <BS> <M-BS> | |
| $LRU | |
| $Paste <M-V> | |
| $Redo <M-S-Z> <A-S-BS> | |
| $SearchWeb <A-S-G> | |
| $SelectAll <M-A> | |
| $Undo <M-Z> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
| package com.jamesrskemp.libgdx.utils; | |
| import com.badlogic.gdx.Gdx; | |
| import com.badlogic.gdx.Input; | |
| import com.badlogic.gdx.InputProcessor; | |
| import com.badlogic.gdx.graphics.OrthographicCamera; | |
| import com.badlogic.gdx.input.GestureDetector; | |
| import com.badlogic.gdx.math.Vector2; | |
| /** |
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
| <!DOCTYPE html> | |
| <html> | |
| <head><title>SOUND</title></head> | |
| <body> | |
| <div>Frequence: <span id="frequency"></span></div> | |
| <script type="text/javascript"> | |
| var audioCtx = new (window.AudioContext || window.webkitAudioContext)(); | |
| var oscillatorNode = audioCtx.createOscillator(); | |
| var gainNode = audioCtx.createGain(); |
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
| # token.pickle stores the user's credentials from previously successful logins | |
| if os.path.exists('token.pickle'): | |
| print('Loading Credentials From File...') | |
| with open('token.pickle', 'rb') as token: | |
| credentials = pickle.load(token) | |
| # Google's Request | |
| from google.auth.transport.requests import Request |
NewerOlder
