Skip to content

Instantly share code, notes, and snippets.

View chardskarth's full-sized avatar
🎯
Focusing

Richard Glen Domingo chardskarth

🎯
Focusing
  • White Cloak Technologies Inc.
  • QC, Metro Manila, Philippines
  • 21:17 (UTC +08:00)
View GitHub Profile
@chardskarth
chardskarth / Dockerfile
Created January 3, 2024 02:34
Dockerized flutter for development environment
FROM dart:3.2.4
RUN apt-get update --quiet --yes
RUN apt-get install --quiet --yes \
unzip \
apt-utils
ARG FVM_VERSION=2.4.1
RUN dart pub global activate fvm ${FVM_VERSION}
@chardskarth
chardskarth / sprout-time-in-or-out.py
Last active December 22, 2022 04:29
HR Hub Sprout Login/Logout
from selenium import webdriver
from selenium.webdriver.common.by import By
from selenium.webdriver.support.wait import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.chrome.service import Service
import time
import traceback
import os
@chardskarth
chardskarth / taskwarrior.zsh
Created January 9, 2022 14:54
My taswkwarrior zsh scripts
tprojectstasks() { # get the first task for each project
local tasks
local taskfilter=$1
if [ -z "$taskfilter" ]
then
tasks=$(task rc.list.all.projects=1 _projects)
else
tasks=$(task rc.list.all.projects=1 $taskfilter _projects)
#sudo apt-get remove adept adept-batch adept-common adept-installer adept-manager adept-notifier adept-updater akregator amarok amarok-xine apport-qt ark arts bogofilter bogofilter-bdb bogofilter-common debtags digikam enscript fftw3 gtk-qt-engine gwenview hwdb-client-kde k3b kaddressbook kaffeine kaffeine-xine kamera karm katapult kate kbstate kcontrol kcron kde-guidance kde-guidance-powermanager kde-icons-mono kde-style-polyester kde-systemsettings kdeadmin-kfile-plugins kdebase-bin kdebase-data kdebase-kio-plugins kdebluetooth kdegraphics-kfile-plugins kdelibs-data kdelibs4c2a kdemultimedia-kfile-plugins kdemultimedia-kio-plugins kdenetwork-filesharing kdenetwork-kfile-plugins kdepasswd kdepim-kio-plugins kdepim-kresources kdepim-wizards kdeprint kdesktop kdm kdnssd keep kexi kfind kghostview khelpcenter kicker kio-apt kio-locate kipi-plugins klipper kmag kmail kmailcvt kmenuedit kmilo kmix kmousetool kmplayer-base kmplayer-konq-plugins knetworkconf knetworkmanager knotes koffice-data koffice-libs konq-plu
@chardskarth
chardskarth / GitCommitEmoji.md
Last active October 29, 2019 06:58 — forked from parmentf/GitCommitEmoji.md
Git Commit message Emoji
@chardskarth
chardskarth / components.button-navigation.js
Created December 16, 2017 09:10
Active button in single component
import Ember from 'ember';
function addNavigation(navigationObject, name, icon){
let toPush = navigationObject.create({
name, icon,
})
this.get('navigations').push(toPush);
}
@chardskarth
chardskarth / application.js
Created December 7, 2017 13:17 — forked from greyby/application.js
custom ember data's restful URL and modify the HTTP method
import DS from 'ember-data';
export default DS.RESTAdapter.extend({
// namespace: 'api/v2',
host: 'http://localhost:8080',
find: function(store, type, id, snapshot) {
return this.ajax(this.buildURL(type.typeKey, id, snapshot, 'find'), 'GET');
},