Skip to content

Instantly share code, notes, and snippets.

View nikzad-avasam's full-sized avatar
🐎
working hard

sam nikzad nikzad-avasam

🐎
working hard
View GitHub Profile
@nikzad-avasam
nikzad-avasam / .conkyrc
Last active November 4, 2021 15:19
.conkyrc
# created by sam nikzad for archlinux and gnome desktop panel ... with conky-lua
background no
update_interval 1
cpu_avg_samples 2
net_avg_samples 2
temperature_unit celsius
double_buffer yes
no_buffers yes
@nikzad-avasam
nikzad-avasam / register.php
Last active March 10, 2020 12:35
login.php
<?php
echo 'this is login page';
?>
@nikzad-avasam
nikzad-avasam / JsonArrayRequestUtf8.JAVA
Last active April 27, 2024 17:45
Use this class instead JsonArrayRequest OR JsonObjectRequest in Volley Library for support UTF-8 Languages Like Persian ( FARSI )
/**
* Created by Sam Nikzad on 5/27/2016.
*/
public class JsonArrayRequestUtf8 extends JsonArrayRequest {
public JsonArrayRequestUtf8(String url, Response.Listener<JSONArray> listener, Response.ErrorListener errorListener) {
super(url, listener, errorListener);
}
@Override
protected Response<JSONArray> parseNetworkResponse(NetworkResponse response) {