Skip to content

Instantly share code, notes, and snippets.

Avatar
👨‍💻
Grinding

Jimut Dhali jimut

👨‍💻
Grinding
View GitHub Profile
@jimut
jimut / multiple.json
Created Apr 4, 2019
Chart configurations for wealth management dashboard
View multiple.json
[
{
"type": "usa",
"renderAt": "chart-container-map",
"width": "100%",
"height": "100%",
"dataFormat": "json",
"dataSource": {
"chart": {
"showCanvasBorder": "0",
@jimut
jimut / config.json
Created Aug 31, 2018
Sample config for using custom FusionCharts library in FusionExport
View config.json
{
"libraryDirectoryPath": "~/Desktop/fusioncharts/"
}
View docs.md

After recieving the request the following code compiles it

if ($request->lang === 'C') {
    $outputGcc = shell_exec('gcc '.escapeshellarg(storage_path('app/codes/'.$codefile))
            .' -o '.escapeshellarg(storage_path('app/codes/progs/'.$exefile)).' 2>&1');
} else if ($request->lang === 'C++') {
    $outputGcc = shell_exec('g++ '.escapeshellarg(storage_path('app/codes/'.$codefile))
            .' -o '.escapeshellarg(storage_path('app/codes/progs/'.$exefile)).' 2>&1');
}
View error
Unsupported beautification result 'Parsing error: Please check the validity of the block starting from line #3
1 | .container 2 | z-index: 0 3*| background: #FFF 4 | padding: 10px
Gonzales PE version: 3.0.0-28 Syntax: sass'.
Unsupported beautification result 'Parsing error: Please check the validity of the block starting from line #3
1 | .container
2 | z-index: 0
3*| background: #FFF
4 | padding: 10px
@jimut
jimut / debug.md
Last active May 18, 2016
Beautification not working on SASS after fresh install
View debug.md