find . -name ' _file_name_ ' -type f -delete
This file contains hidden or 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
| Thread(Runnable { | |
| val client = OkHttpClient() | |
| val request = Request.Builder() | |
| .url("https://api.github.com/users/square/repos") | |
| .build() | |
| val response = client.newCall(request).execute() | |
| val responseText = response.body()!!.string() | |
| val repos = Gson().fromJson(responseText, GitHubRepositoryInfo.List::class.java) | |
| android.util.Log.d("Repos", repos.joinToString { it.name }) | |
| }).start() |
This file contains hidden or 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
| public class Main { | |
| public static void main(String[] args) { | |
| Calculator calculator = new Calculator(); | |
| if (calculator.calc("2 + 2") != 4) throw new RuntimeException(); | |
| if (calculator.calc("2 - 2") != 0) throw new RuntimeException(); | |
| if (calculator.calc("2 * 2") != 4) throw new RuntimeException(); | |
| if (calculator.calc("2 / 2") != 1) throw new RuntimeException(); | |
| } | |
var $stick = $('aside');
var $foot = $('footer');
var $footer_padding = 100;
var stick_offtop = $(document).height() - $stick.height() - $footer_padding;
var stick_scrolltop = $(window).scrollTop();
$(window).scroll(function () {
stick_scrolltop = $(window).scrollTop();
if (ms_scrtop > ms_offtop) {index.php?option=com_content&view=article&id= article_id