Skip to content

Instantly share code, notes, and snippets.

@lynndylanhurley
lynndylanhurley / init.vim
Created February 20, 2016 20:38
minimal .vimrc for neosnippets issue
call plug#begin('~/.vim/bundle/')
"snippets
Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
filetype plugin indent on " required
call plug#end()
let g:neosnippet#enable_completed_snippet = 1
" Tell Neosnippet about the other snippets
"let g:neosnippet#snippets_directory='~/.vim/bundle/vim-snippets/snippets, ~/.neosnippets/snippets, ~/.vim/.bundle/neosnippet-snippets/neosnippets'
" For conceal markers.
if has('conceal')
set conceallevel=2 concealcursor=niv
endif
" omnicompletes
@lynndylanhurley
lynndylanhurley / init.vim
Last active March 9, 2017 05:44
busted clang_complete init.vim
if has('vim_starting')
if &compatible
set nocompatible " Be iMproved
endif
endif
call plug#begin('~/.vim/bundle/')
Plug 'Shougo/vimproc', {'do' : 'make'}
[deoplete] Traceback (most recent call last):
[deoplete] File "/Users/lynn/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 55, in completion_begin
[deoplete] complete_position, candidates = self.gather_candidates(context)
[deoplete] File "/Users/lynn/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 90, in gather_candidates
[deoplete] results = self.gather_results(context)
[deoplete] File "/Users/lynn/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/deoplete.py", line 120, in gather_results
[deoplete] charpos = source.get_complete_position(cont)
[deoplete] File "/Users/lynn/.vim/bundle/deoplete.nvim/rplugin/python3/deoplete/sources/omni.py", line 68, in get_complete_position
[deoplete] m = re.search('(' + input_pattern + ')$', context['input'])
[deoplete] File "/usr/local/Cellar/python3/3.5.1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/re.py", line 173, in search
<resources>
<string name="brand_name">Beavis</string>
<string name="device_name">Butthead</string>
<drawable name="device_image">@drawable/photon_vector</drawable>
<drawable name="device_image_small">@android:drawable/star_big_on</drawable>
<drawable name="brand_image_horizontal">@android:drawable/star_big_on</drawable>
<drawable name="brand_image_vertical">@android:drawable/star_big_on</drawable>
<drawable name="screen_background">@drawable/trianglifybackground</drawable>
<color name="brand_image_background_color">#641A1A1A</color>
<string name="mode_button_name">Mode button</string>
import jsdomify from "jsdomify";
var React,
TestUtils,
Sanity;
describe.only("sanity", () => {
before(() => {
jsdomify.create();
});
def unsynced_scoring_sessions
rel = self.class.where(id: id).joins(:scoring_sessions)
group_by = ['scoring_sessions.id', 'scoring_sessions.name', 'scoring_sessions.active']
del_rel = rel.joins('JOIN scoring_session_questions_sessions ssqs '\
'ON ssqs.scoring_session_id = scoring_sessions.id')
.joins('LEFT JOIN product_divisions_scoring_session_questions pdssq '\
'ON pdssq.scoring_session_question_id = ssqs.scoring_session_question_id '\
'AND pdssq.product_division_id = product_divisions.id')
.where('pdssq.product_division_id IS NULL')
Newark Part No. Qty
38K0326 2
38K0327 3
38K0352 3
38K0376 2
38K0335 4
38K0353 4
38K0365 6
38K0371 2
38K0305 3
ERROR in (transit-post-with-global-interceptors) (WebDriverWait.java:80)
Uncaught exception, not in assertion.
expected: nil
actual: org.openqa.selenium.TimeoutException: Timed out after 5 seconds waiting for clj_webdriver.wait.proxy$java.lang.Object$ExpectedCondition$66be6a90@1d856252
Build info: version: '2.46.0', revision: '61506a4624b13675f24581e453592342b7485d71', time: '2015-06-04 10:22:50'
System info: host: 'Lynns-MacBook-Pro.local', ip: '192.168.1.108', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.10.4', java.version: '1.8.0_45'
Driver info: org.openqa.selenium.remote.RemoteWebDriver
Capabilities [{browserAttachTimeout=0, enablePersistentHover=true, ie.forceCreateProcessApi=false, ie.usePerProcessProxy=false, ignoreZoomSetting=false, hasMetadata=true, handlesAlerts=true, version=9, platform=WINDOWS, proxy={proxyAutoconfigUrl=http://127.0.0.1:19876/pac.js, proxyType=pac}, nativeEvents=true, ie.ensureCleanSession=false, elementScrollBehavior=0, ie.browserCommandLineSwitches=, webdriver.rem
@lynndylanhurley
lynndylanhurley / gist:fac68c11830c7e848628
Created August 6, 2015 21:33
cljs-webdriver stacktrace
ERROR in (transit-put) (NativeConstructorAccessorImpl.java:-2)
Uncaught exception, not in assertion.
expected: nil
actual: org.openqa.selenium.StaleElementReferenceException: Element is no longer valid (WARNING: The server did not provide any stacktrace information)
Command duration or timeout: 16 milliseconds
For documentation on this error, please visit: http://seleniumhq.org/exceptions/stale_element_reference.html
Build info: version: '2.46.0', revision: '87c69e2', time: '2015-06-04 16:16:47'
System info: host: 'WIN-8LIIH1BGM1D', ip: '172.20.41.189', os.name: 'Windows Server 2008 R2', os.arch: 'x86', os.version: '6.1', java.version: '1.8.0_45'
Driver info: org.openqa.selenium.ie.InternetExplorerDriver
Capabilities [{browserAttachTimeout=0, enablePersistentHover=true, ie.forceCreateProcessApi=false, ie.usePerProcessProxy=false, ignoreZoomSetting=false, handlesAlerts=true, version=11, platform=WINDOWS, nativeEvents=true, ie.ensureCleanSession=false, elementScrollBehavior=0, ie.browserCommandLineSwitches=,