Skip to content

Instantly share code, notes, and snippets.

View cornwe19's full-sized avatar

Dennis Cornwell cornwe19

  • NimbleRx
  • Rochester, NY
View GitHub Profile
@cornwe19
cornwe19 / main.dart
Last active July 1, 2022 14:12
Nimble Flutter Interview
import 'package:flutter/material.dart';
const Color darkBlue = Color.fromARGB(255, 18, 32, 47);
void main() {
runApp(MyApp());
}
class MyApp extends StatelessWidget {
@override
@cornwe19
cornwe19 / IndexMaskingCursor.java
Created August 15, 2014 16:27
Temporarily masks the indices of deleted items from a source cursor
package com.techsmith.utilities;
import android.database.AbstractCursor;
import android.database.Cursor;
public class IndexMaskingCursor extends AbstractCursor {
private final Cursor mCursor;
private final int[] mMaskedPositions;
public MaskingCursor( Cursor cursor, int[] maskedPositions ) {
@cornwe19
cornwe19 / openlatest.py
Created May 16, 2013 18:29
open a random set of latest viewpages on coachseye.com
#!/usr/bin/python
import sys
import json
import httplib
from subprocess import call
def makerequest( count, skip ):
conn = httplib.HTTPConnection( "v.coachseye.com" )