Skip to content

Instantly share code, notes, and snippets.

View atiq-cs's full-sized avatar
💭
Head's on the cloud

Atiq Rahman atiq-cs

💭
Head's on the cloud
View GitHub Profile
@atiq-cs
atiq-cs / choco_install_uninstall.log
Last active December 16, 2018 04:05
Choco successful operation log
# Even though it does not say so, it does install to proper location
$ choco install keepass -ia "'/DIR=D:\PFiles_x64\choco\keepass'"
Chocolatey v0.10.11
Installing the following packages:
keepass
By installing you accept licenses for the packages.
Progress: Downloading keepass.install 2.39.1... 100%
Progress: Downloading keepass 2.39.1... 100%
keepass.install v2.39.1 [Approved]
@atiq-cs
atiq-cs / choco_errors.log
Created August 4, 2018 21:35
Chocolatey package install errors
$ choco uninstall pdftk-server
Chocolatey v0.10.10
Uninstalling the following packages:
pdftk-server
pdftk-server v2.02
WARNING: pdftk-server has already been uninstalled by other means.
Running auto uninstaller...
Skipping auto uninstaller - The uninstaller file no longer exists. ""C:\Program Files (x86)\PDFtk Server\unins000.exe""
pdftk-server has been successfully uninstalled.
@atiq-cs
atiq-cs / mvc-ef-db-demo.log
Created July 6, 2018 19:50
MVC with EF SQL DB hello world demo
$ dotnet ef -v migrations add InitialCreate
Using project 'D:\git_ws\net-core-demos\P2_MVC_SQLDB\P2_MVC_SQLDB.csproj'.
Using startup project 'D:\git_ws\net-core-demos\P2_MVC_SQLDB\P2_MVC_SQLDB.csproj'.
Writing 'D:\git_ws\net-core-demos\P2_MVC_SQLDB\obj\P2_MVC_SQLDB.csproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=C:\Users\atiqc\AppData\Local\Temp\tmp8E9B.tmp /verbosity:quiet /nologo D:\git_ws\net-core-demos\P2_MVC_SQLDB\P2_MVC_SQLDB.csproj
Writing 'D:\git_ws\net-core-demos\P2_MVC_SQLDB\obj\P2_MVC_SQLDB.csproj.EntityFrameworkCore.targets'...
dotnet msbuild /target:GetEFProjectMetadata /property:EFProjectMetadataFile=C:\Users\atiqc\AppData\Local\Temp\tmp90FD.tmp /verbosity:quiet /nologo D:\git_ws\net-core-demos\P2_MVC_SQLDB\P2_MVC_SQLDB.csproj
dotnet build D:\git_ws\net-core-demos\P2_MVC_SQLDB\P2_MVC_SQLDB.csproj /verbosity:quiet /nologo
Build succeeded.
@atiq-cs
atiq-cs / mysql_install.log
Created June 29, 2018 02:21
A choco install attempt for MySQL (Community Server) 5.7.18 on 2018-06-28
C:> choco install mysql
Chocolatey v0.10.11
Installing the following packages:
mysql
By installing you accept licenses for the packages.
Progress: Downloading mysql 5.7.18... 100%
mysql v5.7.18 [Approved]
mysql package files install completed. Performing other installation steps.
Get-BinRoot is going to be deprecated in v1 and removed in v2. It has been replaced with Get-ToolsLocation (starting with v0.9.10), however many packages no longer require a special separate directory since package folders no longer have versions on them. Some do though and should continue to use Get-ToolsLocation.
@atiq-cs
atiq-cs / gradle build.log
Last active June 28, 2018 22:28
First time spring hello world build log with gradle 2018-06-28
$ Write-Host $Env:Path
C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files\dotnet;C:\Program Files\Microsoft SQL Server\130\Tools\Binn;C:\WINDOWS\System32\OpenSSH;D:\PFiles_x64\choco\Node;D:\PFiles_x64\choco\Node\;D:\PFiles_x64\choco\git\cmd;D:\PFiles_x64\choco\jdk10\bin;D:\PFiles_x64\PT\gradle\bin;D:\PFiles_x64\PT\spring\bin;
$ java --version
java 10.0.1 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
$ spring --version
Spring CLI v2.0.3.RELEASE
@atiq-cs
atiq-cs / mp4 media info.log
Created June 28, 2018 20:08
Media info for an mpeg 4 file that Windows Movies and TV always fail to play last update 2018-06-28
General
Complete name : S01E01.mp4
Format : MPEG-4
Format profile : Base Media
Codec ID : isom (isom/iso2/mp41)
File size : 278 MiB
Duration : 59 min 45 s
Overall bit rate : 651 kb/s
Movie name : Open TV Media
Description : Open TV Media
@atiq-cs
atiq-cs / UpdateTradeACKNAKDB.cs
Created June 11, 2018 03:04
A database OOP Questions from Amitav vai
/*
CREATE TABLE [tSWIFT_History_Trades](
[Id] [bigint] IDENTITY(1,1) NOT NULL,
[BatchId] [varchar](25) NOT NULL,
[TradeId] [varchar](25) NOT NULL,
[Account] [varchar](25) NULL,
[TranType] [varchar](50) NULL,
[TradeDate] [int] NULL,
[SettleDate] [int] NULL,
[Exch] [varchar](50) NULL,
@atiq-cs
atiq-cs / Topo.cs
Created May 30, 2018 00:51
Example Topological Sort
Class GraphDemo {
void DFS(int u) {
if (HasCycle)
return ;
if (color[u] == GRAY) {
HasCycle = true;
return ;
}
if (color[u] == BLACK)
return ;
@atiq-cs
atiq-cs / javascripting-install-npm-debug.log
Last active November 19, 2017 01:05
error output for command, command npm install --global javascripting article ref: https://fftsys.azurewebsites.net/atiq/tech/learn-npm
>npm link javascripting
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nodejs
\\node_modules\\npm\\bin\\npm-cli.js" "link" "javascripting"
npm ERR! node v0.12.4
npm ERR! npm v2.10.1
npm ERR! path D:\node_modules\javascripting
npm ERR! code EPERM
npm ERR! errno -4048
@atiq-cs
atiq-cs / sys.platform_search_result_v8.txt
Created November 19, 2017 00:34
Search result for linux specific code in v8 project, greped for sys.platform
$ find . -type f -name *.py -exec egrep sys.platform {} \; -print
if sys.platform.startswith('win32'):
./v8/buildtools/clang_format/script/clang-format.py
if sys.platform == 'darwin':
./v8/buildtools/third_party/libc++/trunk/utils/sym_check/sym_check/util.py
return sys.platform.lower().strip()
./v8/buildtools/third_party/libc++/trunk/test/libcxx/test/target_info.py
if sys.platform.startswith("linux"):
elif sys.platform == "darwin":
./v8/tools/nacl-run.py