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
-----Install brew--------------------------------- | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
-------------------------------------------------- | |
------ Remove existing installations ---------------- | |
brew remove mysql | |
brew remove mysql-connector-c | |
brew remove mysql-client |
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
{ | |
"folders": [ | |
{ | |
"path": "react-admin-panel" | |
}, | |
{ | |
"path": "admin_panel" | |
}, | |
{ | |
"path": "avycustomerrepo" |
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
{ | |
"folders": [ | |
{ | |
"path": "gamified_learning" | |
}, | |
{ | |
"path": "self_service" | |
}, | |
{ | |
"path": "points_badges" |
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
{ | |
"terminal.integrated.fontFamily": "Menlo for Powerline", | |
"files.autoSave": "afterDelay", | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/*.pyc": true, |
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
# REST Imports. | |
from rest_framework.views import APIView | |
from rest_framework.response import Response | |
from rest_framework import status | |
from django.http import HttpResponse | |
import jwt | |
from rest_framework_jwt.authentication import api_settings | |
jwt_decode_handler = api_settings.JWT_DECODE_HANDLER |
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
Django Imports | |
from rest_framework.views import APIView | |
from rest_framework.response import Response | |
from rest_framework.status import (HTTP_201_CREATED, HTTP_200_OK, HTTP_404_NOT_FOUND, HTTP_400_BAD_REQUEST, | |
HTTP_500_INTERNAL_SERVER_ERROR) | |
from rest_framework_jwt.authentication import api_settings | |
from django.db.models import Sum, Count | |
from django.db.models.functions import Coalesce | |
# Misc Imports |
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
friends = [] | |
def start_chat (spy): | |
print "Authentication complete ! Welcome %s of age %d. You have spy rating of %.2f" % (spy['name'], spy['age'], | |
spy['rating']) | |
status_rn = None | |
show_menu = True | |
while show_menu: | |
menu_choices = menu_choices = "What do you want to do? " \ | |
"\n 1. Add a status update " \ | |
"\n 2. Add a friend " \ |
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 startchat | |
from spydetails import spy | |
question = "Continue as guest Y/N" | |
existing = raw_input(question) | |
if existing.upper() == "Y": | |
print "Welcome %s.%s of age:%d has rating of %.2f" %(spy['salutation'],spy['name'], | |
spy['age'],spy['rating']) | |
if spy['is_online'] == True: |
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
In file included from /home/demon/android/aospa/kernel/oneplus/msm8974/arch/arm/mach-msm/include/mach/camera2.h:17:0, | |
from /home/demon/android/aospa/kernel/oneplus/msm8974/drivers/media/platform/msm/camera_v2/sensor/io/msm_camera_io_util.h:21, | |
from /home/demon/android/aospa/kernel/oneplus/msm8974/drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c:21: | |
/home/demon/android/aospa/kernel/oneplus/msm8974/include/media/msm_cam_sensor.h:706:25: error: 'MAX_LED_TRIGGERS' undeclared here (not in a function) | |
uint32_t torch_current[MAX_LED_TRIGGERS]; | |
^ | |
/home/demon/android/aospa/kernel/oneplus/msm8974/include/media/msm_cam_sensor.h:719:48: error: 'MAX_I2C_REG_SET' undeclared here (not in a function) | |
struct msm_camera_i2c_reg_array reg_setting_a[MAX_I2C_REG_SET]; | |
^ | |
/home/demon/android/aospa/kernel/oneplus/msm8974/drivers/media/platform/msm/camera_v2/isp/msm_isp_util.c: In function 'msm_isp_util_get_bandwidth_ |
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
[ 72.229984][1000,WifiStateMachin ]wlan: module is from the staging directory, the quality is unknown, you have been warned. | |
[ 72.248637][1000,WifiStateMachin ]wlan: loading driver v3.8.20.24 | |
[ 72.249914][1000,WifiStateMachin ]wlan: [1000:F :HDD] hdd_parse_config_ini: request_firmware failed -2 | |
[ 72.250012][1000,WifiStateMachin ]wlan: [1000:F :HDD] hdd_wlan_startup: error parsing wlan/prima/WCNSS_qcom_cfg.ini | |
[ 72.250099][1000,WifiStateMachin ]wlan: [1000:F :HDD] hdd_driver_init: WLAN Driver Initialization failed | |
[ 72.261854][1000,WifiStateMachin ]wlan: driver load failure | |
[ 73.503461][1000,WifiStateMachin ]wlan: module is from the staging directory, the quality is unknown, you have been warned. | |
[ 73.514846][1000,WifiStateMachin ]wlan: loading driver v3.8.20.24 | |
[ 73.516091][1000,WifiStateMachin ]wlan: [1000:F :HDD] hdd_parse_config_ini: request_firmware failed -2 | |
[ 73.516176][1000,WifiStateMachin ]wlan: [1000:F :HDD] hdd_wlan_startup: error parsing w |
NewerOlder