Skip to content

Instantly share code, notes, and snippets.

View iamutkarshtiwari's full-sized avatar
💭
改善

Utkarsh Tiwari iamutkarshtiwari

💭
改善
  • Expedia Group
  • Seattle, WA
View GitHub Profile
/*You are required to complete this method */
class GfG
{
int atoi(String str)
{
int number = 0;
if (str.length() == 0)
return -1;
for (int i = 0; i< str.length() ; i++ ) {
Utkarshs-MacBook-Air:gcli utkarshtiwari$ ./node_modules/webpack/bin/webpack
-bash: ./node_modules/webpack/bin/webpack: No such file or directory
Utkarshs-MacBook-Air:gcli utkarshtiwari$
iamutkarsh@Kickass:~/SUGARLABS/Make-Them-Fall$ python setup.py genpotTraceback (most recent call last):
File "setup.py", line 4, in <module>
from sugar.activity import bundlebuilder
ImportError: No module named sugar.activity
// All blue balls placement
Row {
id: blueAnswerBallsPlacement
x: rootWindow.width / 2000
y: rootWindow.height / 1.2
Repeater {
model: 15
Image {
source: "resources/bargame/blue_ball.png"
height: rootWindow.height / 9
Running "/usr/bin/cmake /home/iamutkarsh/GCompris-qt '-GCodeBlocks - Ninja' -DCMAKE_CXX_COMPILER:STRING=/usr/bin/g++ -DQT_QMAKE_EXECUTABLE:STRING=/home/iamutkarsh/Qt5.7.0/5.7/gcc_64/bin/qmake" in /tmp/qtc-cmake-d0aprT.
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler using: Ninja
CMake Error:
The detected version of Ninja (log: ninja version 0.1.3 initializing) is
less than the version of Ninja required by CMake (1.3).
CMake Error: Internal CMake error, TryCompile generation of cmake failed
(addon-sdk-1.17)Utkarshs-MacBook-Air:ringleader utkarshtiwari$ cfx run -b /Applications/FirefoxNightly.app/Contents/MacOS/firefox --binary-args http://localhost:3000/static/config --static-args="{ \"prefs\": { \"pnh.check.origin\": \"off\" } }"
Using binary at '/Applications/FirefoxNightly.app/Contents/MacOS/firefox'.
Using profile at '/var/folders/6b/sx45pb1n71b_81g9d021pc4w0000gn/T/tmp7ZUL1S.mozrunner'.
1473501813741 addons.xpi WARN Add-on jid1-CZ1BeoFM9Mmlzg@jetpack is not correctly signed.
1473501813742 addons.xpi WARN Add-on jid1-CZ1BeoFM9Mmlzg@jetpack is not correctly signed.
(sugar-activity:34903): Gtk-CRITICAL **: gtk_text_layout_real_invalidate: assertion 'layout->wrap_loop_count == 0' failed
Terminated by signal 11, pid 34903 data (<open file '<fdopen>', mode 'w' at 0x289fae0>, dbus.ByteArray('e74e8681a9a8fd961215d47ec74de43cd269581e', variant_level=1))
Utkarshs-Air:build utkarshtiwari$ ./bin/GCompris-qt.app/Contents/MacOS/gcompris-qt
Unable to load translation for locale "en_US" , use en_US by default
QCursor: Cannot create bitmap cursor; invalid bitmap(s)
exeCount set to: 8
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.mediaplayer"
qrc:/gcompris/src/core/Loading.qml:99:5: QML Image: Error decoding: qrc:/gcompris/src/core/resource/loading.svg: Unsupported image format
qml: enter main.qml (run #8, ratio=1.7307692307692308, fontRatio=2.4324324324324325, dpi=128, sharedWritablePath=/Users/utkarshtiwari/Library/Application Support/GCompris)
Downloading resource file "data2/voices-aac/voices-en.rcc"
qt.network.ssl: Error receiving trust for a CA certificate
Utkarshs-Air:GCompris-qt utkarshtiwari$ mkdir build
Utkarshs-Air:GCompris-qt utkarshtiwari$ cd build
Utkarshs-Air:build utkarshtiwari$ cmake -DQML_BOX2D_MODULE=disabled ..
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
Utkarshs-Air:GCompris-qt utkarshtiwari$ mkdir build
Utkarshs-Air:GCompris-qt utkarshtiwari$ cd build
Utkarshs-Air:build utkarshtiwari$ cmake ..
-- The C compiler identification is AppleClang 7.0.2.7000181
-- The CXX compiler identification is AppleClang 7.0.2.7000181
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features