I hereby claim:
- I am emkman on github.
- I am ethosventures (https://keybase.io/ethosventures) on keybase.
- I have a public key ASAtlANwMkBiIM_sb2WXK9Q5Z0o5qPyZWxd0y7dKCXPKLQo
To claim this, I am signing this object:
# /Users/emkman/.rvm/gems/ruby-1.9.3-p286@cc/gems/mongoid-3.0.14/lib/mongoid/sessions.rb | |
# line 372 | |
def __session__ | |
if name = session_override #name = nil | |
Sessions.with_name(name) #goes here | |
elsif storage_options && name = storage_options[:session] | |
Sessions.with_name(name) | |
else | |
Sessions.default #should go here | |
end |
- (void)addActionButtons { | |
CGRect toolbarFrame = self.messageInputToolbar.frame; | |
int seperatorWidth = 16; | |
UIToolbar *toolbar = [[UIToolbar alloc] initWithFrame:CGRectMake(0, -(toolbarFrame.size.height+5), self.view.frame.size.width, 50)]; | |
UIButton *declineButton = [UIButton buttonWithType:UIButtonTypeCustom]; | |
toolbar.backgroundColor = [UIColor colorWithRed:255.0 green:255.0 blue:255.0 alpha:1]; | |
enum FloatToDate { | |
case Second(Double) | |
case Minute(Double) | |
case Hour(Double) | |
case Day(Double) | |
case Week(Double) | |
case Month(Double) | |
case Year(Double) | |
func ago() -> NSDate { |
Verifying my Blockstack ID is secured with the address 165g4MmXmGvmhz1ELKfSaiJ5qmhA6hWNDk https://explorer.blockstack.org/address/165g4MmXmGvmhz1ELKfSaiJ5qmhA6hWNDk |
I hereby claim:
To claim this, I am signing this object:
// this was written by chatGPT with coaching and feedback from me. The final output runs without any modification | |
import fs from 'fs'; | |
import crypto from 'crypto'; | |
// Generate a random five digit number where each digit is between 1 and 6 | |
function generateRandomNumber() { | |
let number = ''; | |
for (let i = 0; i < 5; i++) { | |
number += crypto.randomBytes(1).readUInt8(0) % 6 + 1; |