Skip to content

Instantly share code, notes, and snippets.

View hobodave's full-sized avatar
🎯
Focusing

David Abdemoulaie hobodave

🎯
Focusing
View GitHub Profile
--LINKSYS-MODEL-MIB { iso(1) org(3) dod(6) internet(1) private(4)
-- Enterprises(1) linksys(3955) }
LINKSYS-MODEL-MIB DEFINITIONS ::= BEGIN
-- Title: Linksys propritary MIB
-- Date: January 28, 2003 Version 1.01
--
IMPORTS
<?php
/**
* Set the base URL of the request; i.e., the segment leading to the script name
*
* E.g.:
* - /admin
* - /myapp
* - /subdir/index.php
*
* Do not use the full URI when providing the base. The following are

Keybase proof

I hereby claim:

  • I am hobodave on github.
  • I am hobodave (https://keybase.io/hobodave) on keybase.
  • I have a public key ASB60MCZcG0FCMrIMwfy3GSvMVhRoDt9ArW0f7rzE0nb2Qo

To claim this, I am signing this object:

<?php
return [
'apiVersion' => '2',
'operations' => [
'ListPriorities' => [
'httpMethod' => 'GET',
'uri' => 'priority',
'summary' => 'Returns a list of all issue priorities.',
'responseClass' => 'ListPrioritiesResponse',
jruby-9.1.9.0 :008 > Node.singleton_class.singArgumentError: invalid byte sequence in US-ASCII
=== at org/jruby/RubyRegexp.java:1078
each at org/jruby/RubyArray.java:1734
grep at org/jruby/RubyEnumerable.java:578
grep at org/jruby/RubyEnumerable.java:552
select_message at /Users/davida/.rvm/rubies/jruby-9.1.9.0/lib/ruby/stdlib/irb/completion.rb:214
block in InputCompletor at /Users/davida/.rvm/rubies/jruby-9.1.9.0/lib/ruby/stdlib/irb/completion.rb:192
readline at org/jruby/ext/readline/Readline.java:177
gets at /Users/davida/.rvm/rubies/jruby-9.1.9.0/lib/ruby/stdlib/irb/input-method.rb:151
block in eval_input at /Users/davida/.rvm/rubies/jruby-9.1.9.0/lib/ruby/stdlib/irb.rb:469
CONCURRENCY = 100 # Ensure adequate pool size in database.yml
barrier = Concurrent::CyclicBarrier.new(CONCURRENCY)
jobs = Array.new(CONCURRENCY) do
lambda do
begin
Node.last
rescue => e
puts e
CONCURRENCY = 100 # Ensure adequate pool size in database.yml
barrier = Concurrent::CyclicBarrier.new(CONCURRENCY)
jobs = Array.new(CONCURRENCY) do
lambda do
ClientNodeDetail.last
end
end
Rails.application.routes.draw do
scope '/api' do
scope '/v2' do
get 'debug/error_workflows', to: 'debug#error_workflows', as: :v2_debug
# Would like to duplicate :activities and :workflows under here
end
get 'debug/error_workflows', to: 'debug#error_workflows', as: :debug
root 8194 0.0 0.0 20356 2412 - SsJ 7:32PM 0:00.34 sendmail: accepting connections (sendmail)
root 8195 0.0 0.0 20484 1856 - IJ 7:32PM 0:00.33 sendmail: ./v0L4PNp7095367 mx3.mail.icloud.com.: user open (sendmail)
root 15997 0.0 0.0 20484 1860 - IJ 8:02PM 0:00.17 sendmail: ./v0LMtObY043937 mx4.mail.icloud.com.: user open (sendmail)
root 18648 0.0 0.0 20484 1860 - SJ 8:32PM 0:00.13 sendmail: ./v0LHPObd030462 mx5.mail.icloud.com.: user open (sendmail)
root 20033 0.0 0.0 20484 1860 - SJ 9:02PM 0:00.13 sendmail: ./v0LBtNbd017163 mx3.mail.icloud.com.: user open (sendmail)
root 21871 0.0 0.0 20484 1852 - SJ 9:32PM 0:00.13 sendmail: ./v0LJtObZ036581 mx1.mail.icloud.com.: user open (sendmail)
root 23514 0.0 0.0 20484 1856 - SJ 10:02PM 0:00.12 sendmail: ./v0LGPObb027991 mx6.mail.icloud.com.: user open (sendmail)
root 30403 0.0 0.0 20484 1864 - SJ 10:32PM 0:00.12 s
@hobodave
hobodave / waste.js
Last active November 21, 2016 19:05
new Game.Object('Waste reclamation plant', 'waste reclamation plant|waste reclamation plants|reclaimed', 'Reclaims cookies from human waste.', 'farm', 'farmIcon', 'farmBackground', 999999999999999, function() {
return Game.ComputeCps(6249999999, Game.Has('Chunky waste') * 624999999, Game.Has('Liquid waste') + Game.Has('Mixed waste') + Game.Has('Metamucil') + Game.Has('Real time collection'));
}, Game.NewDrawFunction(0, 0, 64, 64, 1), function() {
if (this.amount >= 1) Game.Unlock(['Chunky waste', 'Liquid waste']);
if (this.amount >= 10) Game.Unlock('Mixed waste');
if (this.amount >= 50) Game.Unlock('Metamucil');
if (this.amount >= 100) Game.Unlock('Real time collection');
});
Game.Objects['Waste reclamation plant'].displayName = '<span style="font-size:55%;">Waste reclamation plant</span>'; //shrink the name since it's so large
var tier1=10;