Skip to content

Instantly share code, notes, and snippets.

View robclancy's full-sized avatar

Robert Clancy (Robbo) robclancy

View GitHub Profile
" vim-bootstrap 2022-01-13 05:34:55
"*****************************************************************************
"" Vim-Plug core
"*****************************************************************************
let vimplug_exists=expand('~/.vim/autoload/plug.vim')
if has('win32')&&!has('win64')
let curl_exists=expand('C:\Windows\Sysnative\curl.exe')
else
let curl_exists=expand('curl')
using System;
using System.Collections.Generic;
using System.IO;
using System.Security.Cryptography;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading;
using Steamworks;
using UnityEngine;
using UnityEngine.Rendering;
@robclancy
robclancy / app-index.html
Created February 3, 2021 22:59
Ember Sentry
At the bottom.
<script src="https://browser.sentry-cdn.com/5.30.0/bundle.tracing.min.js" integrity="sha384-Wmp0Jx28tGfR086jrVwifMRcSWk8HQW4TWQ6XsNtI90pVj0dgkH9r2+pI3L2CLf6" crossorigin="anonymous"></script>
<script src="https://browser.sentry-cdn.com/5.30.0/ember.min.js" integrity="sha384-AoDWDCFzGgUlcjpTPIOucLHY0TcDkJISfQTounFvJC9id+SLfT+LMV/omYXeSxtk" crossorigin="anonymous"></script>
@robclancy
robclancy / route-scroll.js
Last active December 8, 2020 14:43
route-scroll.js
import Route from '@ember/routing/route';
import { next } from '@ember/runloop';
import { scrollToTarget } from 'postedin/helpers/scroll-to-target';
export function initialize() {
Route.reopen({
activate() {
this._super();
window.scrollTo(0, 0);
Generic related symbols extension that other extensions can use to add extra symbols. Great for moving between a js and template file.
Docblock and return type suggestions.
PHP paramter prefixes.
Something I miss from sublime: auto complete based on plain text in the current file.
Namespace importing.
import Ember from 'ember';
export default Ember.Component.extend({
});
[2018-05-23 15:39:14,373] [INFO] Startup: Welcome to Komodo IDE 11.0.2 build 90813 (platform linux-x86_64, running on Linux 4.16.8-1-zen version #1 ZEN SMP PREEMPT Wed May 9 11:24:56 UTC 2018)
[2018-05-23 15:39:14,373] [INFO] Startup: /usr/bin/python built on Mon Dec 4 10:20:45 2017
[2018-05-23 15:39:14,409] [WARNING] koXMLPrefs: dePickleCache: Can't open file u'/opt/komodo-ide/lib/support/prefs.xmlc'
[2018-05-23 15:39:14,409] [WARNING] koXMLPrefs: the dePickledCache object was None
[2018-05-23 15:39:14,540] [INFO] koInitService: Setting LC_CTYPE to utf-8
[2018-05-23 15:39:14,721] [WARNING] console-logger: mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create (1) in resource://gre/modules/Preferences.jsm:381
[2018-05-23 15:39:14,756] [WARNING] root: [object Object].logging has been converted to a CommonJS module; use require("ko/logging") instead (since Komodo 9.0.0a1).
@chrome://komodo/co
Section "InputClass"
Identifier "Mouse Remap"
MatchProduct "Saitek Cyborg R.A.T.3 Mouse"
MatchDevicePath "/dev/input/event*"
Option "ButtonMapping" "1 2 3 4 5 0 0 8 9 0 0 0 13 14"
EndSection
var BrowserStorage = (function() {
/**
* Whether the current browser supports local storage as a way of storing data
* @var {Boolean}
*/
var _hasLocalStorageSupport = (function() {
try {
return 'localStorage' in window && window['localStorage'] !== null;
} catch (e) {
return false;
posts = {}
Post.each do |post|
posts[post.id] = post
end