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
| Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. |
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
| [{ | |
| "name": "ashiqul islam", | |
| "hobby": "Cricket" | |
| }, { | |
| "name": "nadim", | |
| "hobby": "Gardening" | |
| }, { |
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
| //Create directory | |
| mkdir javatest | |
| //Enter Directory | |
| cd javatest | |
| //Upload to current directory the file from the link | |
| wget -P /javatest "http://www.yourwebsite.com/untitled2.jar" | |
| //start service |
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
| <?php | |
| //Enter db link, login, password, and db name | |
| $con=mysqli_connect("db_link","login","password","db_name"); | |
| // Check connection | |
| if (mysqli_connect_errno()) | |
| { | |
| echo "Failed to connect to MySQL: " . mysqli_connect_error(); | |
| } |
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
| import java.io.BufferedInputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.net.URL; | |
| import java.net.URLConnection; | |
| public class SendMessage { | |
| public static void sendToTelegram() { | |
| String urlString = "https://api.telegram.org/bot%s/sendMessage?chat_id=%s&text=%s"; |
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
| import java.io.BufferedInputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import java.net.URL; | |
| import java.net.URLConnection; | |
| public class SendMessage { | |
| public static void sendToTelegram() { | |
| String urlString = "https://api.telegram.org/bot%s/sendMessage?chat_id=%s&text=%s"; |
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
| private static final String SYNC_CLICKED = "automaticWidgetSyncButtonClick"; | |
| @Override | |
| public void onReceive(Context context, Intent intent) { | |
| // TODO Auto-generated method stub | |
| super.onReceive(context, intent); | |
| if (SYNC_CLICKED.equals(intent.getAction())) { |
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
| <?xml version="1.0" encoding="utf-8"?> | |
| <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"> | |
| <CheckBoxPreference | |
| android:defaultValue="true" | |
| android:key="show_bass" | |
| android:summaryOff="Hidden" | |
| android:summaryOn="Shown" | |
| android:title="Show Bass" | |
| /> | |
| </PreferenceScreen> |
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
| <activity | |
| android:name=".Settings" | |
| android:label="Settings" | |
| android:parentActivityName=".MainActivity"> | |
| <meta-data | |
| android:name="android.support.PARENT_ACTIVITY" | |
| android:value=".MainActivity" /> | |
| </activity> |
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
| @Override | |
| public boolean onCreateOptionsMenu(Menu menu) { | |
| MenuInflater inflater = getMenuInflater(); | |
| inflater.inflate(R.menu.menuSettings, menu); | |
| return true; | |
| } | |
| @Override | |
| public boolean onOptionsItemSelected(MenuItem item) { | |
| int id = item.getItemId(); |
NewerOlder