Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
public class AutomaticDripCoffeeMaker extends BaseCoffeeMaker { | |
public AutomaticDropCoffeeMaker() { | |
super(); | |
} | |
public void scheduleBrew() { | |
// schedules a call to #brew() | |
} | |
Directly from CLI
alias x='exit'
funcsave x
or create a file in
~/.config/fish/functions
with name
Build your layout here: http://123.57.250.164:3000/ | |
``` | |
$ git clone https://github.com/dfu-programmer/dfu-programmer.git | |
$ cd dfu-programmer | |
$ ./bootstrap.sh | |
$ ./configure | |
$ make | |
$ make install | |
``` |
<!-- Prevents TouchWiz from surrounding your app icon in a frame --> | |
<!-- Add to your manifest inside the application tag --> | |
<meta-data | |
android:name="com.samsung.android.icon_container.has_icon_container" | |
android:value="true"/> |
#!/usr/bin/env bash | |
# I've found that the "Migrate to AndroidX" converter in Android Studio doesn't work very | |
# well, so I wrote my own script to do the simple job of converting package names. | |
# | |
# You can download a CSV of package names here: https://developer.android.com/topic/libraries/support-library/downloads/androidx-class-mapping.csv | |
# | |
# It'll run faster on a clean build because then there are fewer files to scan over. | |
# | |
# Uses `gsed` because I'm on a Mac. Can easily replace with `sed` if you don't have `gsed`. |
package com.pixite.pigment.testing | |
import android.app.Activity | |
import android.app.Instrumentation | |
import android.content.Context | |
import android.content.Intent | |
import androidx.fragment.app.Fragment | |
import androidx.fragment.app.FragmentActivity | |
import androidx.fragment.app.FragmentManager | |
import androidx.lifecycle.Lifecycle |
I was drawn to programming, science, technology and science fiction | |
ever since I was a little kid. I can't say it's because I wanted to | |
make the world a better place. Not really. I was simply drawn to it | |
because I was drawn to it. Writing programs was fun. Figuring out how | |
nature works was fascinating. Science fiction felt like a grand | |
adventure. | |
Then I started a software company and poured every ounce of energy | |
into it. It failed. That hurt, but that part is ok. I made a lot of | |
mistakes and learned from them. This experience made me much, much |
class App : Application() { | |
override fun onCreate() { | |
super.onCreate() | |
ComponentRouter.init(this) { | |
inject(SomeOtherComponentImpl()) | |
inject(XYComponentImpl()) | |
} | |
} | |
} |