Skip to content

Instantly share code, notes, and snippets.

Avatar
🌴
On vacation

Lokesh Sharma lokeshh

🌴
On vacation
View GitHub Profile
View fix_wifi.sh
sudo modprobe -rv rtl8723be
sudo modprobe -v rtl8723be ant_sel=0
View screen asus
I opened the laptop to get the screen part number
Original screen: b156htn03.8
IPS compatible with above (through internet)
B156HAN01.2
LP156WF6-SPB1
View output.log
(base) ➜ library git:(master) ✗ mvn spring-boot:run
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------< com.example:library >-------------------------
[INFO] Building library 0.0.1-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] >>> spring-boot-maven-plugin:2.2.0.RELEASE:run (default-cli) > test-compile @ library >>>
[INFO]
View zappa error.txt
(zzz) ➜ zappa update --no_venv
Calling update for stage dev..
Oh no! An error occurred! :(
==============
Traceback (most recent call last):
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/cli.py", line 2774, in handle
sys.exit(cli.handle())
File "/home/lokesh/miniconda3/envs/zzz/lib/python3.7/site-packages/zappa-0.50.0-py3.7.egg/zappa/cli.py", line 511, in handle
View bmi_cal.py
import time
class BmiData:
def __init__(self):
self.weight = 0
self.height = 0
def main(bmiData):
for i in range(100):
bmiData.height += 1
View error2.txt
2019-07-09 12:08:13.613 INFO 13480 [ restartedMain] c.b.c.c.s.UserService : reset user ac index with size = 0
2019-07-09 12:08:14.746 INFO 13480 [ restartedMain] c.b.c.c.s.CafeteriaService : reset cafeteria index with vendors = 0
2019-07-09 12:08:15.475 INFO 13480 [ restartedMain] c.b.c.c.s.RabbitService : re/initialized rabbit client
2019-07-09 12:08:15.592 INFO 13480 [ restartedMain] c.b.c.c.s.RabbitService : add dm queue with prefix = cdm.where_no_dm, did = 0
2019-07-09 12:08:15.627 WARN 13480 [ restartedMain] c.b.c.c.s.RabbitService : stopped common listerner
2019-07-09 12:08:15.628 INFO 13480 [ restartedMain] c.b.c.c.s.RabbitService : ########################### initiate cm queue listener ##################################
2019-07-09 12:08:17.249 WARN 13480 [ restartedMain] c.b.c.c.s.RabbitService : stopped common listerner
2019-07-09 12:08:17.251 INFO 13480 [ restartedMa
View sumit error.txt
2019-07-09 11:13:48.446 WARN 14536 [detector-worker] o.a.i.l.j.JavaLogger : Possible too long JVM pause: 607 milliseconds.
2019-07-09 11:13:49.234 INFO 14536 [ restartedMain] c.b.c.c.s.UserService : reset user ac index with size = 0
[11:13:50] New version is available at ignite.apache.org: 2.7.5
2019-07-09 11:13:50.928 WARN 14536 [-notifier-timer] o.a.i.l.j.JavaLogger : New version is available at ignite.apache.org: 2.7.5
2019-07-09 11:13:52.314 INFO 14536 [ restartedMain] c.b.c.c.s.CafeteriaService : reset cafeteria index with vendors = 0
2019-07-09 11:13:52.705 INFO 14536 [ restartedMain] c.b.c.c.s.RabbitService : re/initialized rabbit client
2019-07-09 11:13:52.891 INFO 14536 [ restartedMain] c.b.c.c.s.RabbitService : add dm queue with prefix = cdm.where_no_dm, did = 0
2019-07-09 11:13:52.912 WARN 14536 [ restartedMain] c.b.c.c.s.RabbitService : stopped common listerner
2
View docker proxy setting
➜ cat ~/.docker/config.json
{
"credHelpers": {
"gcr.io": "gcloud",
"us.gcr.io": "gcloud",
"eu.gcr.io": "gcloud",
"asia.gcr.io": "gcloud",
"staging-k8s.gcr.io": "gcloud",
"marketplace.gcr.io": "gcloud"
}
View gsl.txt
Sending build context to Docker daemon 35.24MB
Step 1/6 : FROM jupyter/base-notebook:latest
---> 585c088607d9
Step 2/6 : USER root
---> Using cache
---> f322ea75c21a
Step 3/6 : RUN apt-get update && apt-get install -y build-essential ruby2.5 ruby2.5-dev libzmq3-dev gnuplot-nox libgsl-dev libtool autoconf make automake zlib1g-dev libsqlite3-dev libmagick++-dev imagemagick libatlas-base-dev g++ && apt-get clean
---> Using cache
---> 0b0d22386eb2
View ssl.java
public static void trustSelfSignedSSL() {
// TODO: Do not use self signed certificate
HttpsURLConnection.setDefaultHostnameVerifier(new HostnameVerifier() {
public boolean verify(String hostname, SSLSession sslSession) {
return true;
}
});
try {
X509TrustManager tm = new X509TrustManager() {