This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my_list_items.add("Java"); | |
my_list_items.add("HTML"); | |
my_list_items.add("Perl"); | |
my_list_items.add("C#"); | |
my_list_items.add("C"); | |
my_list_items.add("C++"); | |
my_list_items.add("Javascript"); | |
my_list_items.add("Dart"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.bigfisher.scary.converter; | |
import android.content.ContentResolver; | |
import android.content.ContentUris; | |
import android.content.Context; | |
import android.database.Cursor; | |
import android.graphics.Bitmap; | |
import android.graphics.BitmapFactory; | |
import android.graphics.Canvas; | |
import android.graphics.ColorFilter; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:orientation="vertical"> | |
<LinearLayout | |
android:id="@+id/linear1" | |
android:layout_width="match_parent" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
https://lerielab.wordpress.com/?p=2638 | |
*/ | |
package com.bigfisher.scary.converter; | |
import android.animation.*; | |
import android.app.*; | |
import android.app.Activity; | |
import android.app.DialogFragment; | |
import android.app.Fragment; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
((ArrayAdapter)lv_list_items.getAdapter()).getFilter().filter(et_user_command.getText().toString()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo ls -laACR / |grep -iE "(\@\w+\.com|com\.(.+\.){0,}|*.jar|*.xml)" |tee search_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
#Lerie Taylor 2023 | |
#scarylerie@gmail.com | |
#generate a random animal name from a github repo | |
animal_wordlist_url=https://raw.githubusercontent.com/sroberts/wordlists/master/animals.txt | |
if [ ! -f "animals.txt" ] | |
then | |
echo "Downloading animals wordlist.." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
PDO Database connection | |
Lerie Taylor 2023 | |
*/ | |
class PDB | |
{ | |
private $host; | |
private $db; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Card | |
{ | |
private $cardTitle; | |
private $cardDescr; | |
private $cardManaCost; | |
private $cardPower; | |
private $cardTough; | |
private $cardType; | |
// card_info = [ title, descr, mana cost, power, toughness ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link href="css/cow.css" rel="stylesheet"> | |
</head> | |
<body> |