public class ItemOffsetDecoration extends RecyclerView.ItemDecoration {
private int mItemOffset;
public ItemOffsetDecoration(int itemOffset) {
mItemOffset = itemOffset;
}
package in.geekofia.baseconverter; | |
import android.content.Context; | |
import android.text.TextUtils; | |
import android.util.AttributeSet; | |
import android.util.SparseArray; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.view.inputmethod.InputConnection; | |
import android.widget.LinearLayout; |
/* | |
* @Author: chankruze (Chandan Kumar Mandal) | |
* @Date: 2019-06-23 10:41:00 | |
* @Last Modified by: chankruze (Chandan Kumar Mandal) | |
* @Last Modified time: 2019-06-23 10:59:47 | |
*/ | |
#include <stdio.h> | |
void showbits(int n) | |
{ |
<?xml version="1.0" encoding="utf-8"?> | |
<rotate xmlns:android="http://schemas.android.com/apk/res/android" | |
android:pivotX="50%" android:pivotY="50%" android:fromDegrees="0" | |
android:toDegrees="360"> | |
<shape android:shape="ring" android:innerRadiusRatio="3" | |
android:thicknessRatio="8" android:useLevel="false"> | |
<size android:width="56dip" android:height="56dip" /> | |
<gradient android:type="sweep" android:useLevel="false" |
// Linked List: Insert a node at beginning | |
/* | |
* @Author: chankruze (Chandan Kumar Mandal) | |
* @Date: 2019-06-02 21:40:46 | |
* @Last Modified by: chankruze (Chandan Kumar Mandal) | |
* @Last Modified time: 2019-06-02 23:54:36 | |
*/ | |
#include <stdlib.h> | |
#include <stdio.h> |
#include <stdio.h> | |
void swap(int *, int *); // The right way is to declare function prototype in header. | |
int main() | |
{ | |
int a, b; | |
// printf("Enter the value of a:\n"); | |
// scanf("%d", &a); |
When hosting a project on GitHub, it's likely you'll want to use GitHub Pages to host a public web site with examples, instructions, etc. If you're not using a continuous integration service like Travis, keeping your gh-pages site up to date requires continuous wrangling.
The steps below outline how to use Travis CI with GitHub Releases and GitHub Pages to create a "1-button" deployment workflow. After testing and running a release build, Travis will upload your release assets to GitHub. It will also push a new version of your public facing site to GitHub Pages.
Let's assume you are hosting a JavaScript project that will offer a single JavaScript file as a release asset. It's likely you'll organize your files like this.
FILE_NAME=$(basename $1 .c) | |
gcc $1 -o $FILE_NAME && chmod a+x $FILE_NAME && ./$FILE_NAME |
chankruze@geekofia:~/Android/Sdk/platform-tools$ adb version
Android Debug Bridge version 1.0.39
Version 1:8.1.0+r23-5
Installed as /usr/lib/android-sdk/platform-tools/adb
chankruze@geekofia:~/Android/Sdk/platform-tools$ ./adb version
Android Debug Bridge version 1.0.40
Version 28.0.2-5303910
Installed as /home/chankruze/Android/Sdk/platform-tools/adb
- Download from https://mybb.com/download/
- Unzip and upload files to server
File Permissions
sudo mv inc/config.default.php inc/config.php
sudo chmod 666 inc/config.php inc/settings.php
chmod 777 cache/ cache/themes/ uploads/ uploads/avatars/
optional