public class ItemOffsetDecoration extends RecyclerView.ItemDecoration {
private int mItemOffset;
public ItemOffsetDecoration(int itemOffset) {
mItemOffset = itemOffset;
}
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
/* CSS */ | |
# Goes in your .git/config file | |
[alias] | |
# Temporarily stop tracking a file in git. | |
# usage: git unwatch path/to/file | |
unwatch = update-index --assume-unchanged | |
# Resume tracking a file in git. | |
# usage: git watch path/to/file | |
watch = update-index --no-assume-unchanged |
This summer, I worked on FOSSASIA's Open Event Android App Generator for generating a customized android app for any event and enhanced the already existing Android app by adding a schedule in it and various UI/UX enhancements.
The app-generator server is hosted on a VPS server and runs on ubuntu
It takes in the data entered by the user on the generator website and then using that data and our app's source code generates an app customized to their need and emails it to them.
User can either upload an API endpoint or a zip containing json files on the generator where the data to be displayed in the app will be fetched from
A test setup of our project can be accessed here
public class LoginActivity extends AppCompatActivity { | |
private static final int RC_SIGN_IN = 343; | |
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
setContentView(R.layout.activity_main); | |
Toolbar toolbar = (Toolbar) findViewById(R.id.toolbar); | |
setSupportActionBar(toolbar); |
android { | |
//..... | |
} | |
// map for the version code that gives each ABI a value. make sure to list all ABIs mentioned in splits block, an keep the order. | |
ext.versionCodes = ['armeabi': 3, 'armeabi-v7a': 4, 'arm64-v8a': 5, mips: 6, 'x86': 7, 'x86_64': 8] | |
import com.android.build.OutputFile | |
// For each APK output variant, override versionCode with a combination of | |
// ABI APK value * 1000 + defaultConfig.versionCode | |
android.applicationVariants.all { variant -> |
Hello!
I figured it would be better to streamline this interview process a bit, as well as make it more transparent. So instead of emails and resumes, HasGeek can evaluate you based on your ability to complete one of the following tests.
Along with the Mobile Developer Internship listed here, HasGeek is also interesting to taking on one or two interns to work with our tech stack, which is primarily built on Python and the Flask framework.
NOTE: All further communication with regards to this internship will happen via this gist. I'll keep posting updates (if any) at the bottom, so bookmark this page.
from bs4 import BeautifulSoup | |
import requests | |
import re | |
import urllib2 | |
import os | |
import argparse | |
import sys | |
import json | |
# adapted from http://stackoverflow.com/questions/20716842/python-download-images-from-google-image-search |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>My App - Clipboard</title> | |
<meta charset="utf-8"> | |
<meta http-equiv="Content-Security-Policy" content="default-src 'self'; script-src 'self' chrome-extension://*;"> | |
</head> | |
<body> |